summaryrefslogtreecommitdiff
path: root/math/R
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/R
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/R')
-rw-r--r--math/R/Makefile6
-rw-r--r--math/R/buildlink3.mk7
2 files changed, 6 insertions, 7 deletions
diff --git a/math/R/Makefile b/math/R/Makefile
index 862fa717b55..01f80cc6d95 100644
--- a/math/R/Makefile
+++ b/math/R/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.218 2020/10/11 15:22:56 wen Exp $
+# $NetBSD: Makefile,v 1.219 2020/10/12 21:51:58 bacon Exp $
DISTNAME= R-4.0.3
+PKGREVISION= 1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_R_CRAN:=base/R-4/}
@@ -168,8 +169,7 @@ fix-darwin-install-name:
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.if !exists(/System/Library/Frameworks/Accelerate.framework)
-.include "../../math/blas/buildlink3.mk"
-.include "../../math/lapack/buildlink3.mk"
+.include "../../mk/blas.buildlink3.mk"
.endif
.include "../../www/curl/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
diff --git a/math/R/buildlink3.mk b/math/R/buildlink3.mk
index 7d604234a84..68644c713bc 100644
--- a/math/R/buildlink3.mk
+++ b/math/R/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2018/03/07 23:16:03 minskim Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2020/10/12 21:51:58 bacon Exp $
BUILDLINK_TREE+= R
@@ -6,7 +6,7 @@ BUILDLINK_TREE+= R
R_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.R+= R>=1.7.0
-BUILDLINK_ABI_DEPENDS.R+= R>=2.2.1nb2
+BUILDLINK_ABI_DEPENDS.R+= R>=4.0.3nb1
BUILDLINK_PKGSRCDIR.R?= ../../math/R
.endif # R_BUILDLINK3_MK
@@ -15,8 +15,7 @@ BUILDLINK_PKGSRCDIR.R?= ../../math/R
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.if !exists(/System/Library/Frameworks/Accelerate.framework)
-.include "../../math/blas/buildlink3.mk"
-.include "../../math/lapack/buildlink3.mk"
+.include "../../mk/blas.buildlink3.mk"
.endif
BUILDLINK_TREE+= -R