pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

superlu: figured out how to insert BLAS_LIBS



Module Name:	pkgsrc-wip
Committed By:	Dr. Thomas Orgis <thomas.orgis%uni-hamburg.de@localhost>
Pushed By:	thor
Date:		Tue Mar 24 00:10:20 2020 +0100
Changeset:	ac5d8eb9aa55d65db79065b8b3ba2b3d35b8a214

Modified Files:
	superlu/Makefile

Log Message:
superlu: figured out how to insert BLAS_LIBS

Now, the limitation of BLAS implementations is gone.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ac5d8eb9aa55d65db79065b8b3ba2b3d35b8a214

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 superlu/Makefile | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diffs:
diff --git a/superlu/Makefile b/superlu/Makefile
index e449293276..53eb38a205 100644
--- a/superlu/Makefile
+++ b/superlu/Makefile
@@ -18,12 +18,8 @@ CMAKE_ARG_PATH=		${WRKSRC}
 # Armadillo needs shared lib, best would be to install both.
 CMAKE_ARGS=		-Denable_blaslib=off \
 			-Denable_doc=off \
-			-DBUILD_SHARED_LIBS=on
-
-# The cmake machinery finds plain openblas first,
-# do not know how to insert a specific lib. But single-threaded
-# openblas does make sense, I suppose, for sparse matrices.
-BLAS_ACCEPTED=		openblas netlib
+			-DBUILD_SHARED_LIBS=on \
+			-DTPL_BLAS_LIBRARIES=${BLAS_LIBS:Q}
 
 TEST_TARGET=		test
 


Home | Main Index | Thread Index | Old Index