No, I didn't go far. I have wrapped a unikernel in dune a while ago when it
was still jbuilder, but it was a one off, Unix only and I didn't repeat the
experience with Solo5. I would go with Anil's advice.

Le lun. 29 oct. 2018 à 13:11, Martin Lucina <[email protected]> a écrit :

> On Monday, 29.10.2018 at 10:26, Anil Madhavapeddy wrote:
> > On 29 Oct 2018, at 10:16, Andrew J <[email protected]> wrote:
> > >
> > > Hi,
> > >
> > > I'm starting a project with mirage to build a protocol server. I'm
> > > wondering if there is any way to use dune to handle the configuring and
> > > building since it can do tests and other things too.
> > >
> > > I guess this would be something similar to running the mirage configure
> > > then make commands but don't know if something like this exists for
> dune.
> > >
> > > I haven't used dune before, only just playing around with it now but
> > > would be great to be able to use it.
> > >
> > > If there are any other tips for setting up the project then I'd welcome
> > > them all!
> >
> > Right now, `mirage configure` does need ocamlbuild, but I'm working on
> > some patches to support dune directly in a unikernel.  For now, the
> easiest
> > way to use Dune for the bulk of your development is to factor out your
> protocol
> > into a separate opam package that build/installs with Dune, and then
> > just invoke it from a thin ocamlbuild/mirage unikernel file.
>
> I believe Gabriel de Perthuis (@g2p) has also done some work on this, might
> be worth coordinating with him.
>
> Regards,
>
> -mato
>
> _______________________________________________
> MirageOS-devel mailing list
> [email protected]
> https://lists.xenproject.org/mailman/listinfo/mirageos-devel
>
_______________________________________________
MirageOS-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/mirageos-devel

Reply via email to