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

Re: [MirageOS-devel] supported OCaml versions



Anil Madhavapeddy <anil@xxxxxxxxxx> 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
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

 


Rackspace

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