guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/05: gnu: guile@3.0.8: Disable parallel builds when cross-compiling.


From: guix-commits
Subject: 02/05: gnu: guile@3.0.8: Disable parallel builds when cross-compiling.
Date: Tue, 1 Mar 2022 06:34:52 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit dd6b951fe05ff2729c7420a1b5749df825d045d8
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Mar 1 10:59:02 2022 +0100

    gnu: guile@3.0.8: Disable parallel builds when cross-compiling.
    
    Cross builds, as in "guix build guile@3.0.8 --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

[Prev in Thread] Current Thread [Next in Thread]