summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-12-19 07:46:47 +0100
committerMarius Bakke <marius@gnu.org>2022-12-19 23:08:21 +0100
commit145aa7f04b1c61e52f61bca039350e898e20aac8 (patch)
tree0d0177bcd68ba22c9ba136159418ccc5d5e1ae59
parent5877dc88a2a1cecce2eeb76ca3ce997c277551f3 (diff)
downloadguix-145aa7f04b1c61e52f61bca039350e898e20aac8.tar.gz
gnu: SeaBIOS: Build in parallel.
* gnu/packages/firmware.scm (seabios)[arguments]: Use N-PAR-FOR-EACH to build
the various targets.
-rw-r--r--gnu/packages/firmware.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 79d4442487..7239b85cb2 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -426,6 +426,7 @@ executing in M-mode.")
       #~'("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 @@ executing in M-mode.")
                        ("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