3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: suitesparse: Skip building graphblas on riscv64-linux.

* gnu/packages/maths.scm (suitesparse)[arguments]: Add a phase when
building for riscv64-linux to skip building graphblas.
This commit is contained in:
Efraim Flashner 2022-12-08 16:08:08 +02:00
parent 02d5912062
commit d896a4d2ff
Signed by untrusted user: efraim
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4977,6 +4977,15 @@ Fresnel integrals, and similar related functions as well.")
"library")
#:phases
(modify-phases %standard-phases
,@(if (target-riscv64?)
;; GraphBLAS FTBFS on riscv64-linux
`((add-after 'unpack 'skip-graphblas
(lambda _
(substitute* "Makefile"
((".*cd GraphBLAS.*") "")
(("metisinstall gbinstall moninstall")
"metisinstall moninstall")))))
'())
(delete 'configure)))) ;no configure script
(inputs
(list tbb openblas gmp mpfr metis))