[82290] trunk/dports/math/atlas/Portfile

vince at macports.org vince at macports.org
Thu Aug 11 23:53:06 PDT 2011


Revision: 82290
          http://trac.macports.org/changeset/82290
Author:   vince at macports.org
Date:     2011-08-11 23:53:04 -0700 (Thu, 11 Aug 2011)
Log Message:
-----------
Downgrade Core i2 CPU to Core i1 on Snow Leopard, too.

Modified Paths:
--------------
    trunk/dports/math/atlas/Portfile

Modified: trunk/dports/math/atlas/Portfile
===================================================================
--- trunk/dports/math/atlas/Portfile	2011-08-12 04:29:23 UTC (rev 82289)
+++ trunk/dports/math/atlas/Portfile	2011-08-12 06:53:04 UTC (rev 82290)
@@ -168,8 +168,9 @@
 		
 }
 
-if { ${os.major} == 11 && \
-	[exec sysctl -n hw.optional.avx1_0] == 1 } {
+if { (${os.major} == 11 && \
+	[exec sysctl -n hw.optional.avx1_0] == 1) || \
+	[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/20110811/2ae1039e/attachment.html>


More information about the macports-changes mailing list