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
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4977,6 +4977,15 @@ (define-public suitesparse
"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))