[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/16: gnu: xen: Build in parallel.
From: |
guix-commits |
Subject: |
15/16: gnu: xen: Build in parallel. |
Date: |
Thu, 28 Sep 2023 19:13:03 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit d47146562445c75a386d00471f6d2ab483d65fcb
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Sep 24 02:00:00 2023 +0200
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.
---
gnu/packages/virtualization.scm | 10 ++++++----
1 file 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
- 02/16: gnu: kcov: Update to 42., (continued)
- 02/16: gnu: kcov: Update to 42., guix-commits, 2023/09/28
- 05/16: gnu: onedrive: Update to 2.4.25., guix-commits, 2023/09/28
- 07/16: gnu: remmina: Update to 1.4.32., guix-commits, 2023/09/28
- 08/16: gnu: python-srsly: Update to 2.4.8., guix-commits, 2023/09/28
- 11/16: gnu: qemu: Update to 8.1.1., guix-commits, 2023/09/28
- 09/16: gnu: erofs-utils: Update to 1.7., guix-commits, 2023/09/28
- 10/16: gnu: imgp: Update to 2.9., guix-commits, 2023/09/28
- 14/16: gnu: xen: Update package style., guix-commits, 2023/09/28
- 12/16: gnu: xen: Version the mini-os checkout., guix-commits, 2023/09/28
- 13/16: gnu: xen: Update to 4.14.6., guix-commits, 2023/09/28
- 15/16: gnu: xen: Build in parallel.,
guix-commits <=
- 16/16: gnu: xen: Build reproducibly, guix-commits, 2023/09/28