pkgsrc-WIP-changes archive

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

lapack: fix -lblas for 'external' BLAS lib



Module Name:	pkgsrc-wip
Committed By:	Dr. Thomas Orgis <thomas.orgis%uni-hamburg.de@localhost>
Pushed By:	thor
Date:		Thu Feb 25 18:11:48 2021 +0100
Changeset:	af194668b9328cf5bc4ed549371435dc1dc3ff41

Modified Files:
	lapack/Makefile

Log Message:
lapack: fix -lblas for 'external' BLAS lib

We separately install lapack's libblas and link only to that one here.
BLAS_LIBS is for higher-level packages that use our BLAS choice, not
the basic provider itself.

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

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

diffstat:
 lapack/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diffs:
diff --git a/lapack/Makefile b/lapack/Makefile
index 1843d18667..79a852cbaf 100644
--- a/lapack/Makefile
+++ b/lapack/Makefile
@@ -6,7 +6,7 @@ COMMENT=	Linear Algebra PACKage (Netlib reference implementation)
 LAPACK_COMPONENT=	lapack
 LAPACK_COMPONENT_CMAKE_ARGS= \
 	-DUSE_OPTIMIZED_BLAS=ON \
-	-DBLAS_LIBRARIES=${BLAS_LIBS:Q} \
+	-DBLAS_LIBRARIES=-lblas \
 	-DUSE_OPTIMIZED_LAPACK=OFF \
 	-DCBLAS=OFF -DLAPACKE=OFF -DLAPACK=ON
 


Home | Main Index | Thread Index | Old Index