aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-10-07 16:34:59 +0200
committerLudovic Courtès <ludo@gnu.org>2017-10-07 17:08:33 +0200
commitaba219af0fed6a349af930f19c913fb87e6a69dd (patch)
treeaeadccc686d24e0291957e551f47c618098865a1
parent1f3ea898719cf802d14deeb161a41d1b3967ddad (diff)
downloadpatches-aba219af0fed6a349af930f19c913fb87e6a69dd.tar
patches-aba219af0fed6a349af930f19c913fb87e6a69dd.tar.gz
pull: Honor 'parallel-job-count'.
* guix/build/pull.scm (build-guix): Use 'n-par-for-each' and honor 'parallel-job-count'.
-rw-r--r--guix/build/pull.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/build/pull.scm b/guix/build/pull.scm
index 03b0f925a7..1ae35ab382 100644
--- a/guix/build/pull.scm
+++ b/guix/build/pull.scm
@@ -178,7 +178,8 @@ containing the source code. Write any debugging output to DEBUG-PORT."
;; Make sure compilation related modules are loaded before starting to
;; compile files in parallel.
(compile #f)
- (par-for-each
+ (n-par-for-each
+ (parallel-job-count)
(lambda (file)
(with-mutex mutex
(display #\cr log-port)