summaryrefslogtreecommitdiff
path: root/math/blas/buildlink3.mk
diff options
context:
space:
mode:
authorbacon <bacon@pkgsrc.org>2020-10-12 21:51:57 +0000
committerbacon <bacon@pkgsrc.org>2020-10-12 21:51:57 +0000
commitafefcaa6e54efd2e5b8f95abf655d5d040ae36be (patch)
tree301b42c86078439d0507aa5e1cb691c3fb6da5d2 /math/blas/buildlink3.mk
parent064b357d6f40e50256ec30d40eeb2381a21baa63 (diff)
downloadpkgsrc-afefcaa6e54efd2e5b8f95abf655d5d040ae36be.tar.gz
math/blas, math/lapack: Install interchangeable BLAS system
Install the new interchangeable BLAS system created by Thomas Orgis, currently supporting Netlib BLAS/LAPACK, OpenBLAS, cblas, lapacke, and Apple's Accelerate.framework. This system allows the user to select any BLAS implementation without modifying packages or using package options, by setting PKGSRC_BLAS_TYPES in mk.conf. See mk/blas.buildlink3.mk for details. This commit should not alter behavior of existing packages as the system defaults to Netlib BLAS/LAPACK, which until now has been the only supported implementation. Details: Add new mk/blas.buildlink3.mk for inclusion in dependent packages Install compatible Netlib math/blas and math/lapack packages Update math/blas and math/lapack MAINTAINER approved by adam@ OpenBLAS, cblas, and lapacke will follow in separate commits Update direct dependents to use mk/blas.buildlink3.mk Perform recursive revbump
Diffstat (limited to 'math/blas/buildlink3.mk')
-rw-r--r--math/blas/buildlink3.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/math/blas/buildlink3.mk b/math/blas/buildlink3.mk
index 53a51e91c05..6d7c6efe1a8 100644
--- a/math/blas/buildlink3.mk
+++ b/math/blas/buildlink3.mk
@@ -1,15 +1,13 @@
-# $NetBSD: buildlink3.mk,v 1.9 2020/02/28 21:48:53 plunky Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2020/10/12 21:51:57 bacon Exp $
BUILDLINK_TREE+= blas
.if !defined(BLAS_BUILDLINK3_MK)
BLAS_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.blas+= blas>=1.0nb2
-BUILDLINK_ABI_DEPENDS.blas+= blas>=1.0nb3
+BUILDLINK_API_DEPENDS.blas+= blas>=3.9.0
+BUILDLINK_ABI_DEPENDS.blas+= blas>=3.9.0nb1
BUILDLINK_PKGSRCDIR.blas?= ../../math/blas
-
-BLAS_LIBS= -lblas
.endif # BLAS_BUILDLINK3_MK
BUILDLINK_TREE+= -blas