mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 06:42:14 -05:00
gnu: ldc: Honor parallel-build?.
* gnu/packages/dlang.scm (ldc-bootstrap)[arguments]: Adjust custom 'build phase to check parallel-build? and not parallel-tests?. Change-Id: I84b5f5153fea89d80564f5a55c8df57ff201ee69
This commit is contained in:
parent
f78b41a1e9
commit
c0c650219b
1 changed files with 2 additions and 2 deletions
|
@ -177,8 +177,8 @@ (define ldc-bootstrap
|
|||
(replace 'build
|
||||
;; Building with Make would result in "make: *** [Makefile:166:
|
||||
;; all] Error 2".
|
||||
(lambda* (#:key make-flags parallel-tests? #:allow-other-keys)
|
||||
(let ((job-count (number->string (or (and parallel-tests?
|
||||
(lambda* (#:key make-flags parallel-build? #:allow-other-keys)
|
||||
(let ((job-count (number->string (or (and parallel-build?
|
||||
(parallel-job-count))
|
||||
1))))
|
||||
(apply invoke "cmake" "--build" "." "-j" job-count
|
||||
|
|
Loading…
Reference in a new issue