diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-14 20:23:43 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2025-01-06 12:14:57 +0200 |
| commit | d3185f33cd1e96a68856f36be94bcda38dc2d51c (patch) | |
| tree | b759b14cf7eab9e0bb7deba5e580e8e1217d961f /gnu/packages/rust.scm | |
| parent | 398896690461b6b621f8cfa272151167c5e40a39 (diff) | |
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
Diffstat (limited to 'gnu/packages/rust.scm')
| -rw-r--r-- | gnu/packages/rust.scm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 1be020a6bf7..7d8d188b4ad 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm | |||
| @@ -207,10 +207,9 @@ | |||
| 207 | ;; Rust's own .so library files are not found in any RUNPATH, but | 207 | ;; Rust's own .so library files are not found in any RUNPATH, but |
| 208 | ;; that doesn't seem to cause issues. | 208 | ;; that doesn't seem to cause issues. |
| 209 | #:validate-runpath? #f | 209 | #:validate-runpath? #f |
| 210 | ;; Most of the build is single-threaded. This also improves the | 210 | ;; We currently see race conditions between various dependant crates. |
| 211 | ;; build time on machines with "only" 8GB of RAM. | 211 | ;; TODO: Re-evaluate after moving to a more recent mrustc. |
| 212 | ;; ppc64le regularly sees race conditions between various dependant crates. | 212 | #:parallel-build? #f |
| 213 | #:parallel-build? ,(target-x86-64?) | ||
| 214 | #:make-flags | 213 | #:make-flags |
| 215 | (list ,(string-append "RUSTC_TARGET=" | 214 | (list ,(string-append "RUSTC_TARGET=" |
| 216 | (platform-rust-target | 215 | (platform-rust-target |
