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

Re: [MirageOS-devel] supported OCaml versions



On 11/17/17 07:14, Hannes Mehnert wrote:

Dear people,

the current state:
- MirageOS3 was advertised as "working with OCaml 4.03 upwards"
- mirage-xen works as of now only with 4.04.2
- OCaml 4.06 was released with a major breaking change (safe-string)

 From some discussion on IRC, the following seems to be consensus (please
discuss if you've other opinions):
- Mirage supports 4.04.2 upwards (this is true for the mirage tool
itself as well as libraries only used with mirage, other libraries used
elsewhere as well (such as ipaddr, uri, cstruct, tls, etc.) may want to
support more OCaml versions
- travis CI in the repositories should test 4.04.2 and 4.06 (to avoid
having a huge blowup of options)

Do we lose anything by not testing 4.05.0?

- NB: if a repository doesn't rely on external C code, there's no real
need to test it with all the linux distributions available.

4.03 may still work, but we're not putting much effort into maintaining
compatibility --> we can safely bump to 'available: [ ocaml-version >=
"4.04.2" ]' in opam.

For mirage itself and libraries used only in mirage, sure. My experience trying to support a range of ocaml-version stanzas in that ball of repositories was pretty bad last time and I think it's best to keep them bounded to the same compiler.

-Mindy

_______________________________________________
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®.