[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/06: gnu: suitesparse: Link against OpenBLAS rather than LAPACK.
From: |
guix-commits |
Subject: |
01/06: gnu: suitesparse: Link against OpenBLAS rather than LAPACK. |
Date: |
Fri, 25 Jun 2021 09:12:49 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 285f9d5e95993e6950242064418ff8d36ed83f02
Author: Ludovic Courtès <ludovic.courtes@inria.fr>
AuthorDate: Fri Jun 25 09:04:17 2021 +0200
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.
---
gnu/packages/maths.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 766c292..954f460 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -4098,6 +4098,11 @@ Fresnel integrals, and similar related functions as
well.")
(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 @@ Fresnel integrals, and similar related functions as
well.")
(delete 'configure)))) ;no configure script
(inputs
`(("tbb" ,tbb)
- ("lapack" ,lapack)
+ ("openblas" ,openblas)
("gmp" ,gmp)
("mpfr" ,mpfr)
("metis" ,metis)))
- branch master updated (88c7c73 -> 0a02abd), guix-commits, 2021/06/25
- 01/06: gnu: suitesparse: Link against OpenBLAS rather than LAPACK.,
guix-commits <=
- 02/06: gnu: suitesparse: Update to 5.10.1., guix-commits, 2021/06/25
- 03/06: deploy: Leave on hard error., guix-commits, 2021/06/25
- 04/06: reconfigure: Use 'formatted-message'., guix-commits, 2021/06/25
- 05/06: import: hackage: Support "common" field and imports, guix-commits, 2021/06/25
- 06/06: build: Build guix.scm and gnu.scm., guix-commits, 2021/06/25