Search code examples
haskellbuildparallel-processingcabalmulticore

Parallel Cabal Builds


Is there a way to compile packages in parallel when using cabal install similar to GNU make's -jN flag?


Solution

  • Yes, from version 1.16, cabal does support this using the -j option to install, like so:

    cabal install -j mypackage