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
This commit is contained in:
Efraim Flashner 2024-10-21 14:54:48 +03:00
parent b3aded0724
commit 545537e9e2
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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.