ocp-build is a build system for OCaml application, based on simple descriptions of packages. ocp-build combines the descriptions of packages, and optimize the parallel compilation of files depending on the number of cores and the automatically-infered dependencies between source files.

Resources

Sources Source archives (last release is 1.99.9-beta since March 11, 2015) User Manual A preliminary user manual

An example of description file for ocp-build (with the .ocp extension):

begin library "ocplib-system" files = [ "file.ml" "process.ml" "stubs.c" ] requires = [ "unix" ] end begin program "file-checker" files = [ "checkFiles.ml" "checkLexer.mll" "checkParser.mly" "checkMain.ml" ] requires = [ "ocplib-system" ] end

Invoking ocp-build is as follows (use -help to get more information):