mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-15 23:48:07 -05:00
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.
This commit is contained in:
parent
88c7c73974
commit
285f9d5e95
1 changed files with 6 additions and 1 deletions
|
@ -4098,6 +4098,11 @@ (define-public suitesparse
|
|||
(list (string-append "CC=" ,(cc-for-target))
|
||||
"TBB=-ltbb"
|
||||
"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)
|
||||
(string-append "CMAKE_OPTIONS=-DCMAKE_INSTALL_PREFIX="
|
||||
(assoc-ref %outputs "out")
|
||||
|
@ -4117,7 +4122,7 @@ (define-public suitesparse
|
|||
(delete 'configure)))) ;no configure script
|
||||
(inputs
|
||||
`(("tbb" ,tbb)
|
||||
("lapack" ,lapack)
|
||||
("openblas" ,openblas)
|
||||
("gmp" ,gmp)
|
||||
("mpfr" ,mpfr)
|
||||
("metis" ,metis)))
|
||||
|
|
Loading…
Reference in a new issue