pkgsrc-WIP-changes archive

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

plink2: Convert to use new blas.buildlink.mk



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Wed Apr 17 12:06:44 2019 -0500
Changeset:	2b58c8849e3786cb349e4bf2971146b0dd4e3ef4

Modified Files:
	plink2/Makefile
Removed Files:
	plink2/options.mk

Log Message:
plink2: Convert to use new blas.buildlink.mk

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

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

diffstat:
 plink2/Makefile   |  5 +++--
 plink2/options.mk | 18 ------------------
 2 files changed, 3 insertions(+), 20 deletions(-)

diffs:
diff --git a/plink2/Makefile b/plink2/Makefile
index de0b50ce49..ff62bb6021 100644
--- a/plink2/Makefile
+++ b/plink2/Makefile
@@ -58,9 +58,10 @@ post-install:
 	${INSTALL_SCRIPT} ${FILESDIR}/plink2-bench ${DESTDIR}${PREFIX}/bin
 
 # .include "../../wip/openblas/buildlink3.mk"
+# .include "../../math/blas/buildlink3.mk"
+.include "../../wip/cblas/buildlink3.mk"
+.include "../../wip/mk/blas.buildlink3.mk"
 .include "../../lang/python/application.mk"
-.include "../../math/blas/buildlink3.mk"
 .include "../../math/lapack/buildlink3.mk"
-.include "../../wip/cblas/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/plink2/options.mk b/plink2/options.mk
deleted file mode 100644
index 1af9fc5bb8..0000000000
--- a/plink2/options.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD$
-
-PKG_OPTIONS_VAR=	PKG_OPTIONS.plink2
-PKG_SUPPORTED_OPTIONS=	native sse42 avx2
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mnative)
-CFLAGS+=	-march=native
-.endif
-
-.if !empty(PKG_OPTIONS:Msse42)
-CFLAGS+=	-msse4.2
-.endif
-
-.if !empty(PKG_OPTIONS:Mavx2)
-CFLAGS+=	-mavx2 -mbmi -mbmi2 -mlzcnt
-.endif


Home | Main Index | Thread Index | Old Index