Anil Madhavapeddy <[email protected]> writes:

> I have a Travis version of this jbuilder-workspace method here:
>
> https://github.com/avsm/ocaml-yaml/blob/master/.docker.sh
>
> It can be run locally or on Travis with the same script, and uses the
> experimental new ocaml/opam2:DISTRO-ocaml containers that 
> contain multiple ocaml compilers precompiled.  We just need to
> generate the jbuilder workspace file and install deps in each switch,
> which opam2 makes quite easy.

This is very good. Looks like this will be quite useful without docker
as well (correct me if I'm wrong). However, what's not ideal here is
that if you're not using docker, then you're polluting your list of
global switches with those switch names. What would be ideal is creating
those switches locally to the project and having a way to refer to those
switches in the workspace file through paths rather than global names.

Obviously, this will be quite the disk eater until opam gets better
binary caching. But still, seems like it would be quite a nice workflow
that will be usable to all.

_______________________________________________
MirageOS-devel mailing list
[email protected]
https://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

Reply via email to