gnu: libpasastro: Remove system constrains.

* gnu/packages/astronomy.scm (libpasastro) [supported-systems]: Remove
it.
[arguments] <#:make-flags>: Add attempt to build on RISCV.

Change-Id: I6dbc843ec25fca46b7c9501e21cc8fba1e9d7bcb
This commit is contained in:
Sharlatan Hellseher 2024-01-27 13:28:33 +00:00
parent c1b47e8bcb
commit 5e1e44b25f
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3229,8 +3229,6 @@ (define-public libpasastro
(sha256
(base32 "1na3gyb3nzb5gdgccs1653j2gnz6w3v1mqzhyhkx3yqw8bs3q5x0"))))
(build-system gnu-build-system)
(supported-systems '("i686-linux" "x86_64-linux"
"armhf-linux" "aarch64-linux"))
(arguments
(list
#:tests? #f ; no tests provided
@ -3246,7 +3244,9 @@ (define-public libpasastro
'("CPU_TARGET=i386"))
("x86_64-linux"
'("CPU_TARGET=x86_64"))
((or "armhf-linux" "aarch64-linux")
;; There is no a case for RISCV in upstream, attempt to treat it
;; as ARM.
((or "armhf-linux" "aarch64-linux" "riscv64")
'("CPU_TARGET=armv7l"))
(_ '()))
(string-append "PREFIX=" #$output))