[opam-devel] Parallel builds

Markus Mottl markus.mottl at gmail.com
Thu Jun 6 16:25:30 BST 2013


Many packages seem to use Oasis for building, but I couldn't find any
package specification that calls the build process in a way that
allows for parallel builds.

E.g. I might want to specify this in an OPAM package (i.e. use up to 4 CPUs):

  ["ocaml" "setup.ml" "-build" "-j 4"]

Does anybody have objections to parallel builds?  Any suggestions
concerning their number?  I think it should generally work fine and
give a typical speedup of maybe around 20%.

Regards,
Markus

--
Markus Mottl        http://www.ocaml.info        markus.mottl at gmail.com


More information about the opam-devel mailing list