pkgsrc-WIP-changes archive

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

wip/plink: switch from cblas to BLAS_C_INTERFACE



Module Name:	pkgsrc-wip
Committed By:	Dr. Thomas Orgis <thomas.orgis%uni-hamburg.de@localhost>
Pushed By:	thor
Date:		Tue Jun 15 09:30:09 2021 +0200
Changeset:	19dbcc2b7bf74a3327b205539cd36782d82804ca

Modified Files:
	plink/Makefile

Log Message:
wip/plink: switch from cblas to BLAS_C_INTERFACE

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

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

diffstat:
 plink/Makefile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diffs:
diff --git a/plink/Makefile b/plink/Makefile
index ab42006943..131118821c 100644
--- a/plink/Makefile
+++ b/plink/Makefile
@@ -25,14 +25,16 @@ USE_TOOLS+=	gmake
 
 WRKSRC=		${WRKDIR}/plink-ng-${GITHUB_TAG}/1.9
 
-CFLAGS+=	-DDYNAMIC_ZLIB -I${PREFIX}/include -I.
-CXXFLAGS+=	-DDYNAMIC_ZLIB -I${PREFIX}/include
-MAKE_FLAGS+=	ZLIB=-lz BLASFLAGS="-L${PREFIX}/lib ${LAPACK_LIBS} ${BLAS_LIBS} -lcblas -lpthread"
+CFLAGS+=	-DDYNAMIC_ZLIB -I${PREFIX}/include -I. ${BLAS_INCLUDES}
+CXXFLAGS+=	-DDYNAMIC_ZLIB -I${PREFIX}/include ${BLAS_INCLUDES}
+MAKE_FLAGS+=	ZLIB=-lz BLASFLAGS="-L${PREFIX}/lib ${LAPACK_LIBS} ${CBLAS_LIBS}  -lpthread"
 INSTALL_TARGET=	install-strip
 
 PORTVERSION=	1.90b4
 BLAS_ACCEPTED=	openblas_pthread
 
+BLAS_C_INTERFACE=	yes
+
 INSTALLATION_DIRS=	bin
 
 post-patch:
@@ -42,7 +44,6 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/plink ${DESTDIR}${PREFIX}/bin
 
 .include "../../mk/blas.buildlink3.mk"
-.include "../../math/cblas/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index