[82585] trunk/dports/math/atlas/Portfile
vince at macports.org
vince at macports.org
Tue Aug 16 01:04:24 PDT 2011
Revision: 82585
http://trac.macports.org/changeset/82585
Author: vince at macports.org
Date: 2011-08-16 01:04:22 -0700 (Tue, 16 Aug 2011)
Log Message:
-----------
Correct a bug on Tiger (hw.cpufamily is not available)
Modified Paths:
--------------
trunk/dports/math/atlas/Portfile
Modified: trunk/dports/math/atlas/Portfile
===================================================================
--- trunk/dports/math/atlas/Portfile 2011-08-16 07:45:44 UTC (rev 82584)
+++ trunk/dports/math/atlas/Portfile 2011-08-16 08:04:22 UTC (rev 82585)
@@ -170,9 +170,8 @@
}
-if { (${os.major} == 11 && \
- [exec sysctl -n hw.optional.avx1_0] == 1) || \
- [exec sysctl -n hw.cpufamily] == 1418770316 } {
+if { (${os.major} == 11 && [exec sysctl -n hw.optional.avx1_0] == 1) || \
+ (${os.major} > 8 && [exec sysctl -n hw.cpufamily] == 1418770316) } {
# Corei2 is not supported yet because gcc4.5 does not
# support AVX instructions and gcc4.6 does not compile yet.
# Set CPU to Corei1 instead
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110816/1fd9b6ea/attachment.html>
More information about the macports-changes
mailing list