gnu: SeaBIOS: Build in parallel.

* gnu/packages/firmware.scm (seabios)[arguments]: Use N-PAR-FOR-EACH to build
the various targets.
This commit is contained in:
Marius Bakke 2022-12-19 07:46:47 +01:00
parent 5877dc88a2
commit 145aa7f04b
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -426,6 +426,7 @@ (define-public seabios
#~'("EXTRAVERSION=-guix" ;upstream wants distros to set this
"V=1") ;build verbosely
#:modules `(,@%gnu-build-system-modules
(ice-9 threads)
(ice-9 match))
#:phases
#~(modify-phases %standard-phases
@ -477,7 +478,7 @@ (define-public seabios
("isavga" . ("VGA_BOCHS=y" "VGA_PCI=n"))
("ramfb" . ("VGA_RAMFB=y" "VGA_PCI=n")))))
(mkdir "out")
(for-each
(n-par-for-each (parallel-job-count)
(match-lambda
((target . config)
(let* ((dot-config (string-append (getcwd) "/" target