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
|
@ -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
|
;; Make sure compilation related modules are loaded before starting to
|
||||||
;; compile files in parallel.
|
;; compile files in parallel.
|
||||||
(compile #f)
|
(compile #f)
|
||||||
(par-for-each
|
(n-par-for-each
|
||||||
|
(parallel-job-count)
|
||||||
(lambda (file)
|
(lambda (file)
|
||||||
(with-mutex mutex
|
(with-mutex mutex
|
||||||
(display #\cr log-port)
|
(display #\cr log-port)
|
||||||
|
|
Loading…
Reference in New Issue