[ocaml-platform] Passing OPAM data to build parameters
Anil Madhavapeddy
anil at recoil.org
Mon Mar 17 12:01:27 GMT 2014
On 17 Mar 2014, at 11:51, Markus Elfring <Markus.Elfring at web.de> wrote:
> Hello,
>
> I am trying to become more familiar with software development tools for another
> programming language.
> How does the software "OCaml Package Manager" help to determine appropriate
> build parameters?
> Would you like to publish any more information about the cooperation of OPAM and
> a command like "ocamlfind ocamlc -package"?
OPAM 1.1 doesn't explicitly discover any build parameters. Every package
defines a set of shell commands that can be modified depending on the presence
of dependent packages. The package build system is responsible for parsing
these command-line elements and turning them into a set of ocamlfind packages.
This loose coupling was deliberate for OPAM 1.x, since it lets it work with
a large variety of build systems. Moving forward, there are tentative designs
for tighter ocamlfind integration, but nothing beyond rough prototypes yet.
cheers,
Anil
More information about the Platform
mailing list