[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] Project setup with dune

On Monday, 29.10.2018 at 10:26, Anil Madhavapeddy wrote:
> On 29 Oct 2018, at 10:16, Andrew J <andrewj25836@xxxxxxxxx> 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.



MirageOS-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.