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.
This commit is contained in:
parent
91097713ee
commit
d471465624
1 changed files with 6 additions and 4 deletions
|
@ -2309,8 +2309,7 @@ DOS or Microsoft Windows.")
|
||||||
(search-input-file %build-inputs
|
(search-input-file %build-inputs
|
||||||
"share/firmware/ovmf_ia32.bin")))
|
"share/firmware/ovmf_ia32.bin")))
|
||||||
#:make-flags
|
#:make-flags
|
||||||
#~(list "-j" "1"
|
#~(list "XEN_BUILD_DATE=Thu Jan 1 01:00:01 CET 1970"
|
||||||
"XEN_BUILD_DATE=Thu Jan 1 01:00:01 CET 1970"
|
|
||||||
"XEN_BUILD_TIME=01:00:01"
|
"XEN_BUILD_TIME=01:00:01"
|
||||||
"XEN_BUILD_HOST="
|
"XEN_BUILD_HOST="
|
||||||
"ETHERBOOT_NICS="
|
"ETHERBOOT_NICS="
|
||||||
|
@ -2406,8 +2405,11 @@ DOS or Microsoft Windows.")
|
||||||
"LIBRARY_PATH"))
|
"LIBRARY_PATH"))
|
||||||
(setenv "EFI_VENDOR" "guix")))
|
(setenv "EFI_VENDOR" "guix")))
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda* (#:key make-flags #:allow-other-keys)
|
(lambda* (#:key make-flags parallel-build? #:allow-other-keys)
|
||||||
(apply invoke "make" "world" make-flags))))))
|
(apply invoke "make" "world"
|
||||||
|
"-j" (number->string
|
||||||
|
(if parallel-build? (parallel-job-count) 1))
|
||||||
|
make-flags))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list acpica ; TODO: patch iasl invocation
|
(list acpica ; TODO: patch iasl invocation
|
||||||
bridge-utils ; TODO: patch invocations
|
bridge-utils ; TODO: patch invocations
|
||||||
|
|
Reference in a new issue