oasis
oasis copied to clipboard
The OCamlbuild plugin should look-up in setup.data the ocamlfind program to use
This bug has been migrated from artifact #1252 on forge.ocamlcore.org. It was assigned to user100.
user857 posted on 2013-01-18 14:24:04:
At the moment, the OCamlbuild plugin does not look up in setup.data which ocamlfind program to use. Here is a patch that fixes that.
There is a pitfall with this patch, though: ocamlfind only supports ocamlmklib since version 1.3.1, and the current version (1.3.3) has a performance bug (the performance is quadratic in the number of arguments, which can be quite slow). So, one should probably wait for a new release of ocamlfind, or drop the last change in the patch for the moment.
In the second case, ocamlmklib should probably be looked up in setup.data anyway, as there is currently no way to override the OCamlbuild ocamlmklib settings (there is no -ocamlmklib option).
user857 replied on 2013-01-19 19:40:54:
I forgot the invocation of "ocamlfind list" in function find_packages. Here is a better patch.