Re: dune

Thomas Leonard <[email protected]> Tue, 13 Nov 2018 12:05:40 +0000
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <CAG4opy9_ecviWmWtPiz0mzJSiYbSdrzCD8jgums5iHmz_81x7g@mail.gmail.com>
On Sun, 11 Nov 2018 at 21:35, <[email protected]> wrote:

> "Dune is a build system designed for OCaml/Reason projects only. It
> focuses on providing the user with a consistent experience and takes
> care of most of the low-level details of OCaml compilation. All you have
> to do is provide a description of your project and dune will do the
> rest."

0install does not currently use Dune. However, I am working on moving
to it. It's a bit complicated because we currently support:

- local dev builds,
- opam builds,
- 0compile builds,
- various Linux distributions, and
- Windows builds,

all of which need some special cases. We also have C stubs (some
Windows only), and conditional compilation (obus, lablgtk), and
binaries build with GTK still need to work on systems without it.

If anyone wants to see the current state, it's here:

  https://github.com/talex5/0install/tree/dune

I'm currently trying to get the Windows build working, which is a bit
slow as I don't have a Windows machine and waiting for AppVeyor to
install things each time is quite tedious.


-- 
talex5 (GitHub/Twitter)        http://roscidus.com/blog/
GPG: 5DD5 8D70 899C 454A 966D  6A51 7513 3C8F 94F6 E0CC