aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2018-04-16 22:51:37 +0200
committerDaniel Gröber <dxld@darkboxed.org>2018-04-16 22:51:37 +0200
commitec02a3a04b69fe32fddcf80734d6428183c69273 (patch)
treee0a8a9c4858884bf7f1383e5720dd8c6398a9da8
parent38b075369332aa88bb1a5638c90f40e30a249f46 (diff)
Use `-j` when building Cabal HEAD
-rw-r--r--src/CabalHelper/Compiletime/Compile.hs1
1 files changed, 1 insertions, 0 deletions
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 = []