Skip to content

hadrian/build-cabal: Better respect and utilize -j

Andreas Klebinger requested to merge wip/andreask/hadrian_build_par into master
hadrian/build-cabal: Better respect and utilize -j

* We now respect -j<n> for the cabal invocation to build hadrian rather
  than hardcoding -j
* We use the --semaphore flag to ensure cabal/ghc build the hadrian
  executable in parallel using the -jsem mechanism.

Saves 10-15s on fresh builds for me.

Fixes #26876

Merge request reports

Loading