From ec02a3a04b69fe32fddcf80734d6428183c69273 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Mon, 16 Apr 2018 22:51:37 +0200 Subject: Use `-j` when building Cabal HEAD --- src/CabalHelper/Compiletime/Compile.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/CabalHelper/Compiletime/Compile.hs b/src/CabalHelper/Compiletime/Compile.hs index 94563fb..bd15537 100644 --- a/src/CabalHelper/Compiletime/Compile.hs +++ b/src/CabalHelper/Compiletime/Compile.hs @@ -453,6 +453,7 @@ runSetupHs opts@Options {..} db srcdir ever CabalInstallVersion {..} go $ callProcessStderr opts (Just srcdir) setupProgram where parmake_opt + | Left _ <- ever = ["-j"] | Right ver <- ever, ver >= Version [1,20] [] = ["-j"] | otherwise = [] -- cgit v1.2.3