gnu: rust-bootstrap: Don't use parallel-build.

* gnu/packages/rust.scm (rust-bootstrap)[arguments]: Change
parallel-build? to be false on all architectures.

Change-Id: I36aa984f9d47e01d35270423dbf44d57182854f0
This commit is contained in:
Efraim Flashner 2024-12-14 20:23:43 +02:00
parent 3988966904
commit d3185f33cd
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -207,10 +207,9 @@ (define-public rust-bootstrap
;; Rust's own .so library files are not found in any RUNPATH, but
;; that doesn't seem to cause issues.
#:validate-runpath? #f
;; Most of the build is single-threaded. This also improves the
;; build time on machines with "only" 8GB of RAM.
;; ppc64le regularly sees race conditions between various dependant crates.
#:parallel-build? ,(target-x86-64?)
;; We currently see race conditions between various dependant crates.
;; TODO: Re-evaluate after moving to a more recent mrustc.
#:parallel-build? #f
#:make-flags
(list ,(string-append "RUSTC_TARGET="
(platform-rust-target