mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 22:16:32 +01:00
pull: Honor 'parallel-job-count'.
* guix/build/pull.scm (build-guix): Use 'n-par-for-each' and honor 'parallel-job-count'.
This commit is contained in:
parent
1f3ea89871
commit
aba219af0f
1 changed files with 2 additions and 1 deletions
|
@ -178,7 +178,8 @@ (define* (build-guix out source
|
|||
;; 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)
|
||||
|
|
Loading…
Reference in a new issue