Commit 4e96a038 authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Limit parallelism of ghc-cabal.

parent 7a936b63
......@@ -37,7 +37,8 @@ buildPackageData target = do
-- GhcCabal may run the configure script, so we depend on it
-- We don't know who built the configure script from
whenM (doesFileExist $ configure <.> "ac") $ need [configure]
build $ fullTarget target [cabal] GhcCabal files
buildWithResources [(ghcPkg, 1)] $ -- GhcCabal calls ghc-pkg too
fullTarget target [cabal] GhcCabal files
whenM (interpretExpr target registerPackage) .
buildWithResources [(ghcPkg, 1)] $
fullTarget target [cabal] (GhcPkg stage) files
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment