aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2023-09-24 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2023-09-24 02:00:00 +0200
commitd47146562445c75a386d00471f6d2ab483d65fcb (patch)
tree49b108982ac2abcaadf31385a379ce53ac151b0a /gnu/packages
parent91097713eecefa10c8a04b5c152adb2e7b8c36bb (diff)
downloadguix-d47146562445c75a386d00471f6d2ab483d65fcb.tar.gz
guix-d47146562445c75a386d00471f6d2ab483d65fcb.zip
gnu: xen: Build in parallel.
I was unable to trigger any additional irreproducibility. If you can, please disable PARRALLEL-BUILD? instead. * gnu/packages/virtualization.scm (xen)[arguments]: Remove hard-coded ‘-j 1’ from the #:make-flags. Honour PARALLEL-BUILD? in the 'build phase.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/virtualization.scm10
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 777c372f9e..9097355e4e 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -2309,8 +2309,7 @@ DOS or Microsoft Windows.")
(search-input-file %build-inputs
"share/firmware/ovmf_ia32.bin")))
#:make-flags
- #~(list "-j" "1"
- "XEN_BUILD_DATE=Thu Jan 1 01:00:01 CET 1970"
+ #~(list "XEN_BUILD_DATE=Thu Jan 1 01:00:01 CET 1970"
"XEN_BUILD_TIME=01:00:01"
"XEN_BUILD_HOST="
"ETHERBOOT_NICS="
@@ -2406,8 +2405,11 @@ DOS or Microsoft Windows.")
"LIBRARY_PATH"))
(setenv "EFI_VENDOR" "guix")))
(replace 'build
- (lambda* (#:key make-flags #:allow-other-keys)
- (apply invoke "make" "world" make-flags))))))
+ (lambda* (#:key make-flags parallel-build? #:allow-other-keys)
+ (apply invoke "make" "world"
+ "-j" (number->string
+ (if parallel-build? (parallel-job-count) 1))
+ make-flags))))))
(inputs
(list acpica ; TODO: patch iasl invocation
bridge-utils ; TODO: patch invocations