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:
Efraim Flashner 2024-06-03 12:32:24 +03:00
parent f78b41a1e9
commit c0c650219b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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