summary refs log tree commit diff
path: root/gnu/packages/guile.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-03-01 10:59:02 +0100
committerLudovic Courtès <ludo@gnu.org>2022-03-01 12:33:06 +0100
commitdd6b951fe05ff2729c7420a1b5749df825d045d8 (patch)
treeda8eb3a8ecd7039b952f3aa66cf5991c5c31d634 /gnu/packages/guile.scm
parente9b7adde0ddc8489e63d843a8bd8b76dc6bd6ead (diff)
downloadguix-dd6b951fe05ff2729c7420a1b5749df825d045d8.tar.gz
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.
Diffstat (limited to 'gnu/packages/guile.scm')
-rw-r--r--gnu/packages/guile.scm6
1 files 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