efraim pushed a commit to branch wip-riscv-bootstrap in repository guix. commit 7992a759f336c1c17b379a6853dff229cdac256f Author: Efraim Flashner <efr...@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 39c7a879f4..e1767e38d5 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.