mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: ck: Limit parallelism.
* gnu/packages/c.scm (ck)[arguments]<#:phases>('configure): Limit
parallelism to prevent excessive test runtime.
Change-Id: I303d8ff3c5d47da4862994ad0c2942d84f736e57
This commit is contained in:
parent
a9f854ca3d
commit
20669af24a
1 changed files with 3 additions and 3 deletions
|
|
@ -1572,9 +1572,9 @@ Telemetry Transport (MQTT) publish-subscribe messaging protocol.")
|
|||
,(string-append "--prefix=" #$output)
|
||||
,(string-append "--mandir=" #$output "/share/man")
|
||||
,(string-append "--cores="
|
||||
(if parallel-build?
|
||||
(number->string (parallel-job-count))
|
||||
"1")))))))))
|
||||
;; Tests require parallelism, and set upper limit as test
|
||||
;; runtime scales superliniearly in the number of cores.
|
||||
(number->string (max 2 (min 8 (parallel-job-count))))))))))))
|
||||
(home-page "https://github.com/concurrencykit/ck")
|
||||
(synopsis "C library for concurrent systems")
|
||||
(description "Concurrency Kit (@code{ck}) provides concurrency primitives,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue