civodul pushed a commit to branch master
in repository guix.

commit dd6b951fe05ff2729c7420a1b5749df825d045d8
Author: Ludovic Courtès <[email protected]>
AuthorDate: Tue Mar 1 10:59:02 2022 +0100

    gnu: [email protected]: Disable parallel builds when cross-compiling.
    
    Cross builds, as in "guix build [email protected] --target=i586-pc-gnu", are
    not bit-reproducible unless built sequentially.
    
    * gnu/packages/guile.scm (guile-3.0-latest)[arguments]: Set 
#:parallel-build?
    to #f when cross-compiling.
---
 gnu/packages/guile.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index fc969f3bb5..6f4afe92cc 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -403,8 +403,10 @@ without requiring the source code to be rewritten.")
     (arguments
      (substitute-keyword-arguments (package-arguments guile-3.0)
        ;; Guile 3.0.8 is bit-reproducible when built in parallel, thanks to
-       ;; its multi-stage build process for cross-module inlining.
-       ((#:parallel-build? _ #f) #t)))))
+       ;; its multi-stage build process for cross-module inlining, except when
+       ;; cross-compiling.
+       ((#:parallel-build? _ #f)
+        (not (%current-target-system)))))))
 
 (define-public guile-3.0/fixed
   ;; A package of Guile that's rarely changed.  It is the one used in the

Reply via email to