gnu: SeaBIOS: Build in parallel.
* gnu/packages/firmware.scm (seabios)[arguments]: Use N-PAR-FOR-EACH to build the various targets.
parent
5877dc88a2
commit
145aa7f04b
|
@ -426,6 +426,7 @@ executing in M-mode.")
|
||||||
#~'("EXTRAVERSION=-guix" ;upstream wants distros to set this
|
#~'("EXTRAVERSION=-guix" ;upstream wants distros to set this
|
||||||
"V=1") ;build verbosely
|
"V=1") ;build verbosely
|
||||||
#:modules `(,@%gnu-build-system-modules
|
#:modules `(,@%gnu-build-system-modules
|
||||||
|
(ice-9 threads)
|
||||||
(ice-9 match))
|
(ice-9 match))
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
|
@ -477,7 +478,7 @@ executing in M-mode.")
|
||||||
("isavga" . ("VGA_BOCHS=y" "VGA_PCI=n"))
|
("isavga" . ("VGA_BOCHS=y" "VGA_PCI=n"))
|
||||||
("ramfb" . ("VGA_RAMFB=y" "VGA_PCI=n")))))
|
("ramfb" . ("VGA_RAMFB=y" "VGA_PCI=n")))))
|
||||||
(mkdir "out")
|
(mkdir "out")
|
||||||
(for-each
|
(n-par-for-each (parallel-job-count)
|
||||||
(match-lambda
|
(match-lambda
|
||||||
((target . config)
|
((target . config)
|
||||||
(let* ((dot-config (string-append (getcwd) "/" target
|
(let* ((dot-config (string-append (getcwd) "/" target
|
||||||
|
|
Reference in New Issue