Commit e7e58aaf authored by Michal Terepeta's avatar Michal Terepeta
Browse files

Set `THREADS` when running validate

GHC testsuite uses the `THREADS` env variable (and not the make's `-j`
setting) to control the parallelism. This commit sets THREADS to the
value of `shakeThreads`.
parent 8933a3a8
......@@ -11,4 +11,4 @@ makeBuilderArgs = do
[ builder (Make gmpBuildPath ) ? append ["MAKEFLAGS=" ++ j]
, builder (Make libffiBuildPath ) ? append ["MAKEFLAGS=" ++ j, "install"]
, builder (Make "testsuite/tests") ? arg "fast" ]
, builder (Make "testsuite/tests") ? append ["THREADS=" ++ show threads, "fast"] ]
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