summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-05-09 17:39:00 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-05-10 20:49:51 -0400
commit9d8f44a98f8345e5223614e0de50fbef2a05dd1d (patch)
tree219cdf08791f42a562c68fa500a78084793dc458 /hadrian
parent68d1ea5fe083e0b3ed114bbf02a642c7481ab5d7 (diff)
downloadhaskell-9d8f44a98f8345e5223614e0de50fbef2a05dd1d.tar.gz
hadrian: Don't pass -j to haddock
This has high potential for oversubcribing as many haddock jobs can be spawned in parralel which will each request the given number of capabilities. Once -jsem is implemented (#19416, !5176) we can expose that haddock via haddock and use that to pass a semaphore. Ticket #21136
Diffstat (limited to 'hadrian')
-rw-r--r--hadrian/src/Settings/Builders/Haddock.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/hadrian/src/Settings/Builders/Haddock.hs b/hadrian/src/Settings/Builders/Haddock.hs
index 6dc4dbde68..5d76b7ee1e 100644
--- a/hadrian/src/Settings/Builders/Haddock.hs
+++ b/hadrian/src/Settings/Builders/Haddock.hs
@@ -43,10 +43,8 @@ haddockBuilderArgs = mconcat
hVersion <- expr $ pkgVersion haddock
statsDir <- expr $ haddockStatsFilesDir
ghcOpts <- haddockGhcArgs
- threads <- shakeThreads <$> expr getShakeOptions
mconcat
- [ arg $ "-j" ++ (show threads)
- , arg "--verbosity=0"
+ [ arg "--verbosity=0"
, arg $ "-B" ++ root -/- stageString Stage1 -/- "lib"
, arg $ "--lib=" ++ root -/- stageString Stage1 -/- "lib"
, arg $ "--odir=" ++ takeDirectory output