summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-04-06 15:17:23 +0100
committerMatthew Pickering <matthewtpickering@gmail.com>2022-04-06 15:17:23 +0100
commit34cf4445d337c93eb86ba3d3c82476ddc7d8f8ed (patch)
treec42674c6ef60b3fe7bc8a497079b0fe8f140e1bd
parent031ba528d42a94d5df5025973a4640aa4fc826eb (diff)
downloadhaskell-34cf4445d337c93eb86ba3d3c82476ddc7d8f8ed.tar.gz
Revert "hadrian: Apply concurrency limit to hlint invocations"
This reverts commit 04724566d049289383103dc73917d2da09fe24bc.
-rw-r--r--hadrian/src/Rules/Lint.hs11
1 files changed, 2 insertions, 9 deletions
diff --git a/hadrian/src/Rules/Lint.hs b/hadrian/src/Rules/Lint.hs
index 93e6d36322..76ee4a7028 100644
--- a/hadrian/src/Rules/Lint.hs
+++ b/hadrian/src/Rules/Lint.hs
@@ -37,12 +37,8 @@ base = do
let include2 = stage1Lib
let include3 = topDir </> buildDir </> "stage1/libraries/base/build/include"
let hlintYaml = topDir </> "libraries/base/.hlint.yaml"
- threads <- shakeThreads <$> getShakeOptions
hostArch <- (<> "_HOST_ARCH") <$> setting HostArch
- let cmdLine = "hlint" <>
- " -j" <> show threads <>
- " --cpp-define " <> hostArch <>
- " --cpp-include=" <> include0 <>
+ let cmdLine = "hlint -j --cpp-define " <> hostArch <> " --cpp-include=" <> include0 <>
" --cpp-include=" <> include1 <>
" --cpp-include=" <> include2 <>
" --cpp-include=" <> include3 <>
@@ -67,10 +63,7 @@ compiler = do
let include1 = stage1Lib
let hlintYaml = topDir </> "compiler/.hlint.yaml"
hostArch <- (<> "_HOST_ARCH") <$> setting HostArch
- threads <- shakeThreads <$> getShakeOptions
- let cmdLine = "hlint" <>
- " -j" <> show threads <>
- " --cpp-define " <> hostArch <>
+ let cmdLine = "hlint -j --cpp-define " <> hostArch <>
" --cpp-include=" <> include0 <>
" --cpp-include=" <> include1 <>
" --cpp-include=" <> compilerDir <>