diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-10-07 16:34:59 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-10-07 17:08:33 +0200 |
commit | aba219af0fed6a349af930f19c913fb87e6a69dd (patch) | |
tree | aeadccc686d24e0291957e551f47c618098865a1 | |
parent | 1f3ea898719cf802d14deeb161a41d1b3967ddad (diff) |
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.scm | 3 |
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) |