OCaml Forge

Detail: [#1252] The OCamlbuild plugin should look-up in setup.data the ocamlfind program to use

Bugs: Browse | Download .csv | Monitor

[#1252] The OCamlbuild plugin should look-up in setup.data the ocamlfind program to use

Date:
2013-01-18 14:24
Priority:
3
State:
Open
Submitted by:
Jérôme Vouillon (vouillon)
Assigned to:
Nobody (None)
Product:
None
Due in version:
None
Resolution:
None
Severity:
enhancement
Version:
None
Component:
Plugin OCamlbuild
Operating System:
None
 
URL:
Summary:
The OCamlbuild plugin should look-up in setup.data the ocamlfind program to use

Detailed description
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).

Followup

Message
Date: 2013-01-19 19:40
Sender: Jérôme Vouillon

I forgot the invocation of "ocamlfind list" in function find_packages. Here is a better patch.

Attached Files:

Attachments:
oasis.patch
oasis2.patch

Changes:

Field Old Value Date By
File Added202: oasis2.patch2013-01-19 19:40vouillon
File Added201: oasis.patch2013-01-18 14:24vouillon