me
/
guix
Archived
1
0
Fork 0

gnu: suitesparse: Link against OpenBLAS rather than LAPACK.

* gnu/packages/maths.scm (suitesparse)[inputs]: Replace LAPACK with
OPENBLAS.
[arguments]: Add "BLAS"and "LAPACK" to #:make-flags.
master
Ludovic Courtès 2021-06-25 09:04:17 +02:00 committed by Ludovic Courtès
parent 88c7c73974
commit 285f9d5e95
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 6 additions and 1 deletions

View File

@ -4098,6 +4098,11 @@ Fresnel integrals, and similar related functions as well.")
(list (string-append "CC=" ,(cc-for-target)) (list (string-append "CC=" ,(cc-for-target))
"TBB=-ltbb" "TBB=-ltbb"
"MY_METIS_LIB=-lmetis" "MY_METIS_LIB=-lmetis"
;; The default is to link against netlib lapack. Use OpenBLAS
;; instead.
"BLAS=-lopenblas" "LAPACK=-lopenblas"
;; Flags for cmake (required to build GraphBLAS and Mongoose) ;; Flags for cmake (required to build GraphBLAS and Mongoose)
(string-append "CMAKE_OPTIONS=-DCMAKE_INSTALL_PREFIX=" (string-append "CMAKE_OPTIONS=-DCMAKE_INSTALL_PREFIX="
(assoc-ref %outputs "out") (assoc-ref %outputs "out")
@ -4117,7 +4122,7 @@ Fresnel integrals, and similar related functions as well.")
(delete 'configure)))) ;no configure script (delete 'configure)))) ;no configure script
(inputs (inputs
`(("tbb" ,tbb) `(("tbb" ,tbb)
("lapack" ,lapack) ("openblas" ,openblas)
("gmp" ,gmp) ("gmp" ,gmp)
("mpfr" ,mpfr) ("mpfr" ,mpfr)
("metis" ,metis))) ("metis" ,metis)))