From 545537e9e27f4024b0f2fa4493fcdc092570366b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 21 Oct 2024 14:54:48 +0300 Subject: [PATCH] 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 a707644d0d2..245c2fa0072 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -2556,14 +2556,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.