[144145] trunk/dports/math/qrupdate/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Sat Jan 2 22:51:04 PST 2016
Revision: 144145
https://trac.macports.org/changeset/144145
Author: mcalhoun at macports.org
Date: 2016-01-02 22:51:03 -0800 (Sat, 02 Jan 2016)
Log Message:
-----------
qrupdate: make the default BLAS the Accelerate framework
atlas became the default BLAS in r68235 due to allow 32/64-bit universal build
this is no longer a compelling reason (Accelerate is universal)
by a slim majority, Accelerate seems is the default BLAS in other ports, so be consistent
Revision Links:
--------------
https://trac.macports.org/changeset/68235
Modified Paths:
--------------
trunk/dports/math/qrupdate/Portfile
Modified: trunk/dports/math/qrupdate/Portfile
===================================================================
--- trunk/dports/math/qrupdate/Portfile 2016-01-03 06:26:10 UTC (rev 144144)
+++ trunk/dports/math/qrupdate/Portfile 2016-01-03 06:51:03 UTC (rev 144145)
@@ -93,18 +93,16 @@
test.args-append BLAS=-lopenblas LAPACK=-lopenblas
}
+if {![variant_isset accelerate] && ![variant_isset openblas] && ![variant_isset atlas] } {
+ default_variants-append +accelerate
+}
+
if {[variant_isset g95]} {
- if {![variant_isset atlas]} {
- default_variants-append +accelerate
- }
post-patch {
reinplace "s|Makeconf|Makeconf.g95|" ${worksrcpath}/Makefile
reinplace "s|Makeconf|Makeconf.g95|" ${worksrcpath}/src/Makefile
}
} else {
- if {![variant_isset accelerate]} {
- default_variants-append +atlas
- }
post-patch {
reinplace "s|gfortran|${configure.fc}|" ${worksrcpath}/Makeconf
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160102/0692e948/attachment-0001.html>
More information about the macports-changes
mailing list