[commit: ghc] wip/nfs-locking: Set `THREADS` when running validate (e7e58aa)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:16:08 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/e7e58aaff96f2f74097ea8f605b216b8fdd15443/ghc

>---------------------------------------------------------------

commit e7e58aaff96f2f74097ea8f605b216b8fdd15443
Author: Michal Terepeta <michal.terepeta at gmail.com>
Date:   Sun May 22 21:26:53 2016 +0200

    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`.


>---------------------------------------------------------------

e7e58aaff96f2f74097ea8f605b216b8fdd15443
 src/Settings/Builders/Make.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Settings/Builders/Make.hs b/src/Settings/Builders/Make.hs
index 3d06775..afb46d7 100644
--- a/src/Settings/Builders/Make.hs
+++ b/src/Settings/Builders/Make.hs
@@ -11,4 +11,4 @@ makeBuilderArgs = do
     mconcat
         [ 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"]  ]



More information about the ghc-commits mailing list