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

[MirageOS-devel] removal of deprecated config in mirage 3.0 (mirage configure --unix/--xen, add_to_opam_packages, add_to_libraries)



Hi all,

As part of the move to Functoria, a few things were deprecated:

* invoking mirage configure --unix and mirage configure --xen to build for UNIX/Xen targets. Instead, use mirage configure -t unix or -t xen.

* using add_to_opam_packages to install extra required packages not detected by the mirage front-end tool. Instead, pass the same list to `register` in the ~packages named argument.

* similarly, using add_to_ocamlfind_libraries to link against extra libraries. Instead, pass the same list to `register` in the ~libraries named argument.

These have worked in `mirage` versions to this point, with an unfortunate side effect: an uncompileable `config.ml` results in a misleading error message telling the user they've supplied an invalid flag on the command line. Fixing this bug is significantly easier if the deprecated functions are removed, so I'd like to remove them in Mirage 3.0.

Branches of Functoria and Mirage which remove this functionality (and fix the mentioned bug) can be previewed via the following PRs:

https://github.com/mirage/functoria/pull/65

https://github.com/mirage/mirage/pull/560

Thanks,

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