On 2014-12-21 15:25, Daniel Bünzli wrote:
Le dimanche, 21 décembre 2014 à 12:28, Thomas Gazagnaire a écrit :
Having a way to have multiple versions of the same library installed
in the same switch could be very cool as well, although again it
requires support in ocamlfind/build systems
I'm not so sure you need anything ocamlfind and/or in the build
systems. Wouldn't it be sufficient to install each package in
PKG.VERSION directories with PKG symlinked on the latest version ? If
your root package name is not specified in the META file then you will
be able to name the versioned packages in ocamlfind.
Imagine four packages installed:
* B.1
* B.2
* A.1 depends: B<2
* A.2 depends B>=2
Now if you request A.1, the wrong version of B will get pulled in.
Daniel
_______________________________________________
opam-devel mailing list
[email protected]
http://lists.ocaml.org/listinfo/opam-devel
--
Peter Zotov
_______________________________________________
opam-devel mailing list
[email protected]
http://lists.ocaml.org/listinfo/opam-devel