summary refs log tree commit diff
diff options
context:
space:
mode:
authorSimon South <simon@simonsouth.net>2020-06-15 11:22:54 -0400
committerEfraim Flashner <efraim@flashner.co.il>2020-10-28 10:33:57 +0200
commite3b91b799d5ad534d473d836c631accc1f54cb86 (patch)
treed5208b5fe12bca09ba8c4e33e4954b2cd05de1bf
parent2fab54f3976a1c4099a30b21e06e725b06914a21 (diff)
downloadguix-e3b91b799d5ad534d473d836c631accc1f54cb86.tar.gz
gnu: icedtea-7: Build in parallel using correct number of jobs.
* gnu/packages/java.scm (icedtea-7)[arguments]<#:configure-flags>: Add
"--with-parallel-jobs".

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/java.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 8c1fabb6e2..9e4e3586bf 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1229,6 +1229,8 @@ bootstrapping purposes.")
            "--enable-bootstrap"
            "--enable-nss"
            "--without-rhino"
+           ,(string-append "--with-parallel-jobs="
+                           (number->string (parallel-job-count)))
            "--disable-downloading"
            "--disable-tests"        ;they are run in the check phase instead
            "--with-openjdk-src-dir=./openjdk.src"