guix-commits
[Top][All Lists]
Advanced

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

48/60: gnu: mesboot-package: Adjust for riscv64-linux builds.


From: guix-commits
Subject: 48/60: gnu: mesboot-package: Adjust for riscv64-linux builds.
Date: Sun, 24 Nov 2024 02:50:17 -0500 (EST)

efraim pushed a commit to branch wip-riscv-bootstrap
in repository guix.

commit 312025b745156ec43d3ed7f969b633d4aa312948
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 21 14:54:48 2024 +0300

    gnu: mesboot-package: Adjust for riscv64-linux builds.
    
    * gnu/packages/commencement.scm (mesboot-package)[supported-systems]:
    Add riscv64-linux.
    [native-inputs]: Use %boot-mesboot5-inputs or %boot-muslboot3-inputs
    depending on the system.
    [arguments]: Don't enable parallel building on riscv64-linux.
    
    Change-Id: I2e57278dcd1c1e14314ddd9a7fdc081245e08720
---
 gnu/packages/commencement.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 5dde779bcf..3430e0ce0d 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2531,14 +2531,17 @@ exec " gcc "/bin/" program
     (inherit pkg)
     (name name)
     (source (bootstrap-origin (package-source pkg)))
-    (native-inputs (%boot-mesboot5-inputs))
-    (supported-systems '("i686-linux" "x86_64-linux"))
+    (native-inputs (if (target-x86?)
+                       (%boot-mesboot5-inputs)
+                       (%boot-muslboot3-inputs)))
+    (supported-systems '("i686-linux" "x86_64-linux" "riscv64-linux"))
     (inputs '())
     (propagated-inputs '())
     (arguments
      (ensure-keyword-arguments (package-arguments pkg)
                                `(#:implicit-inputs? #f
                                  #:guile ,%bootstrap-guile
+                                 #:parallel-build? ,(not (target-riscv64?))
                                  #:tests? #f)))))
 
 ;; These packages are needed to complete the rest of the bootstrap.



reply via email to

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