OCaml Forge

Detail: [#1318] Support ocamlbuild -use-ocamlfind only

Feature Requests: Browse | Download .csv | Monitor

[#1318] Support ocamlbuild -use-ocamlfind only

2013-09-11 21:28
Submitted by:
Jacques-Pascal Deplaix (jpdeplaix)
Assigned to:
Sylvain Le Gall (gildor-admin)
Pending Upload
Due in version:
Plugin OCamlbuild
Operating System:
Support ocamlbuild -use-ocamlfind only

Detailed description
Note: It's maybe something to put in ExperimentalFeatures

So, the request is about to remove the custom support of ocamlfind in the ocamlbuild plugin and to replace it by adding -use-ocamlfind when calling ocamlbuild. In this case, we have to:
- remove the MyOCamlbuildFindlib module from the plugin
- generate the _tags with package(*) and syntax(*) instead of pkg_* syntax_*
- add -use-ocamlfind to the ocamlbuild command

Is this feasible ?


Date: 2014-02-25 10:01
Sender: Jacques-Pascal Deplaix

Oh right, I missed this point. Good thing to do :)
Date: 2014-02-25 00:49
Sender: Sylvain Le Gall


Well I am pondering closing this one.

I didn't achieve 1. remove the MyOCamlbuildFindlib module...

This is maybe doable in fact and not that far away from the current state.

Let's try to solve 1. for the next release.
Date: 2014-02-24 23:54
Sender: Jacques-Pascal Deplaix

Date: 2013-09-25 20:12
Sender: Jacques-Pascal Deplaix

I think we can close this issue, now.
Date: 2013-09-13 16:55
Sender: Jacques-Pascal Deplaix

Ok seems fine :) And I forgot but we need to do it for ocaml >= 4.02 anyway, since -use-ocamlfind will be the default.
Date: 2013-09-12 10:35
Sender: Sylvain Le Gall

I don't think we need any features for that, we should just rely on the OCamlVersion being >= 3.12 (AFAIR). In this case we should trigger specific generation.

We should also display a warning, like:
W: If you set OCamlVersion to >= 3.12 we will be able to generate a more efficient build system

And allow to rn off the warning through an experimental feature:
AlphaFeature: keep-old-ocamlbuild

It will stay alpha for a while because I intend to just drop pre-3.12 support at one point and in this case I'll deprecate the feature altogether.

Attached Files:


Field Old Value Date By
status_idOpen2016-08-22 23:09gildor-admin
close_dateNone2016-08-22 23:09gildor-admin
Due in version0.3.02014-02-25 00:49gildor-admin
ResolutionNone2013-09-25 22:03gildor-admin
assigned_tonone2013-09-12 10:35gildor-admin