2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/maintenance.git synced 2023-12-14 03:33:04 +01:00

hydra: berlin: Conditionally set max-cores on build nodes.

* hydra/berlin-nodes.scm (machine): Set MAX-CORES depending on memory size.
This commit is contained in:
Marius Bakke 2020-10-18 23:07:44 +02:00
parent b48b10a4c1
commit 4e8aee73ee
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -136,7 +136,11 @@
#:emulated-architectures
'("arm" "aarch64")
#:childhurd? (childhurd-ip? ip)
#:max-jobs 20))
#:max-jobs 4
;; The big-memory machines have 96
;; logical cores, the others 64.
#:max-cores (if (> memory 128)
24 16)))
(environment managed-host-environment-type)
(configuration (machine-ssh-configuration
(system "x86_64-linux")