[142132] trunk/dports/math/arpack/Portfile
mmoll at macports.org
mmoll at macports.org
Sat Dec 12 04:27:57 PST 2015
Revision: 142132
https://trac.macports.org/changeset/142132
Author: mmoll at macports.org
Date: 2015-11-04 07:24:06 -0800 (Wed, 04 Nov 2015)
Log Message:
-----------
arpack: add openblas variant. Closes #49579
Modified Paths:
--------------
trunk/dports/math/arpack/Portfile
Modified: trunk/dports/math/arpack/Portfile
===================================================================
--- trunk/dports/math/arpack/Portfile 2015-11-04 13:47:19 UTC (rev 142131)
+++ trunk/dports/math/arpack/Portfile 2015-11-04 15:24:06 UTC (rev 142132)
@@ -63,7 +63,7 @@
set universal_archs_supported "ppc ppc64"
}
-variant accelerate conflicts atlas description {build with Accelerate framework} {
+variant accelerate conflicts atlas openblas description {build with Accelerate framework} {
# the change of LDFLAGS is required to avoid linking against the ATLAS ones
# if they are present; if we specify /usr/lib/libblas.dylib directly, the
# linking fails. http://forge.scilab.org/index.php/p/arpack-ng/issues/1220/
@@ -75,12 +75,17 @@
}
}
-variant atlas description {build with atlas} {
+variant atlas conflicts accelerate openblas description {build with atlas} {
depends_lib-append port:atlas
configure.args-append --with-blas="-L${prefix}/lib -lsatlas"
}
-if {![variant_isset atlas]} {
+variant openblas conflicts accelerate atlas description {build with openblas} {
+ depends_lib-append path:lib/libopenblas.dylib:OpenBLAS
+ configure.args-append --with-blas="-L${prefix}/lib -lopenblas"
+}
+
+if {![variant_isset atlas] && ![variant_isset openblas]} {
default_variants +accelerate
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/a8d1afe7/attachment.html>
More information about the macports-changes
mailing list