Questions tagged [ocp-build]

ocp-build is a simple tool to build OCaml packages

ocp-build is a tool to designed to easily build OCaml packages.

Its main features are:

  • Simple declarative language to describe OCaml packages (program and libraries), and dependencies between packages
  • Automatic analysis of dependencies between OCaml source files
  • Incremental compilation
  • Parallel compilation, better than other OCaml tools
  • Portability on Windows

ocp-build is included in Typerex, and, as it is still under development, the most recent version is in the branch typerex2 on

https://github.com/OCamlPro/typerex

3 questions
3
votes
1 answer

ocp-build.conf syntax for multiple worker processes?

I'd like to configure my OCaml OPAM builds to run multiple worker processes in parallel. There's actually a ticket on the OPAM github for this https://github.com/OCamlPro/opam/issues/310 which says I just need to write an ocp-build.conf file. …
Wang
  • 3,247
  • 1
  • 21
  • 33
0
votes
0 answers

Installing ocp-build with opam failing

I'm trying to install the Ocaml ide Ocaml-top in a linux virtual machine (vmware). When I get to one of its dependences, ocp-build, I get the following error: The compilation of ocp-build failed at "make". opam version 1.2.2 os linux command…
David Farthing
  • 237
  • 2
  • 13
0
votes
1 answer

How to generate and use the generated file

Is it possible, with ocp-build, to do the following actions: Compile a generator. Call the generator to generate a file. Compile the project with the generated file. So far, I tried this: (generator.ocp) begin library "error_gen" sort = true …
Pierre T.
  • 380
  • 1
  • 13