pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
blas.buildlink.mk: Prioritize Accelerate.framework ahead of openblas
Module Name: pkgsrc-wip
Committed By: Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By: outpaddling
Date: Thu Feb 25 12:32:03 2021 -0600
Changeset: 5103037eb3429b53d4beab09655140dd99261313
Modified Files:
mk/blas.buildlink3.mk
Log Message:
blas.buildlink.mk: Prioritize Accelerate.framework ahead of openblas
Does not change the default netlib, but will avoid an openblas build under
some settings of BLAS_ACCEPTED. opnblas currently doesn't work on Darwin
anyway.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5103037eb3429b53d4beab09655140dd99261313
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mk/blas.buildlink3.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diffs:
diff --git a/mk/blas.buildlink3.mk b/mk/blas.buildlink3.mk
index 1c18155e5e..bfbd9b01a1 100644
--- a/mk/blas.buildlink3.mk
+++ b/mk/blas.buildlink3.mk
@@ -58,11 +58,12 @@ BUILD_DEFS_EFFECTS+= BLAS_TYPE BLAS_LIBS LAPACK_LIBS
# should come first by default for maximum compatibility. It is also the
# slowest and not desirable in many situations. Users can override by setting
# PKGSRC_BLAS_TYPES. (See comment above)
-_BLAS_TYPES= netlib openblas openblas_pthread openblas_openmp
+_BLAS_TYPES= netlib
# Darwin
.if exists(/System/Library/Frameworks/Accelerate.framework)
_BLAS_TYPES+= accelerate.framework
.endif
+_BLAS_TYPES+= openblas openblas_pthread openblas_openmp
BLAS_ACCEPTED?= ${_BLAS_TYPES}
PKGSRC_BLAS_TYPES?= ${_BLAS_TYPES}
Home |
Main Index |
Thread Index |
Old Index