[82683] trunk/dports/math/atlas
vince at macports.org
vince at macports.org
Thu Aug 18 08:13:35 PDT 2011
Revision: 82683
http://trac.macports.org/changeset/82683
Author: vince at macports.org
Date: 2011-08-17 19:39:15 -0700 (Wed, 17 Aug 2011)
Log Message:
-----------
Corrects a mistake (stale version of Portfile) in r82670 ?\226?\128?\147 puts back r82612.
Revision Links:
--------------
http://trac.macports.org/changeset/82670
http://trac.macports.org/changeset/82612
Modified Paths:
--------------
trunk/dports/math/atlas/Portfile
Added Paths:
-----------
trunk/dports/math/atlas/files/patch-clang.diff
Modified: trunk/dports/math/atlas/Portfile
===================================================================
--- trunk/dports/math/atlas/Portfile 2011-08-18 01:56:19 UTC (rev 82682)
+++ trunk/dports/math/atlas/Portfile 2011-08-18 02:39:15 UTC (rev 82683)
@@ -174,8 +174,8 @@
}
-if { (${os.major} == 11 && [exec sysctl -n hw.optional.avx1_0] == 1) || \
- (${os.major} > 8 && [exec sysctl -n hw.cpufamily] == 1418770316) } {
+if { (${os.major} == 11 && [sysctl hw.optional.avx1_0] == 1) || \
+ (${os.major} > 8 && [sysctl 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
@@ -269,7 +269,7 @@
${workpath}/${name}-${version}/CONFIG/src/atlcomp.txt
# Get some system specific variables for maximum optimization
- set cpufreq [expr {[exec sysctl -n hw.cpufrequency]/1000000}]
+ set cpufreq [expr {[sysctl hw.cpufrequency]/1000000}]
ui_debug "Setting CPU Frequency for: ${cpufreq}"
if { ${os.arch} == "powerpc" } {
@@ -336,7 +336,7 @@
post-build {
# We have to manually create the dylib shared libs as the default build does not do this
- set ncpu [exec sysctl -n hw.ncpu]
+ set ncpu [sysctl hw.ncpu]
if { [variant_isset universal] } {
set archs ${universal_archs_to_use}
Added: trunk/dports/math/atlas/files/patch-clang.diff
===================================================================
--- trunk/dports/math/atlas/files/patch-clang.diff (rev 0)
+++ trunk/dports/math/atlas/files/patch-clang.diff 2011-08-18 02:39:15 UTC (rev 82683)
@@ -0,0 +1,14 @@
+--- CONFIG/src/atlcomp.txt.orig 2011-08-17 22:10:42.000000000 +0200
++++ CONFIG/src/atlcomp.txt 2011-08-17 22:12:53.000000000 +0200
+@@ -49,8 +49,10 @@
+ 'gcc' '-fomit-frame-pointer -mfpmath=sse -msse3 -O2 -fno-schedule-insns2'
+ MACH=Core2 OS=Win9x,WinNT LVL=1005 COMPS=smc,dmc,skc,dkc,icc
+ 'gcc-4' '-fomit-frame-pointer -mfpmath=sse -msse3 -O2'
+-MACH=Core2 OS=ALL LVL=1000 COMPS=smc,dmc,skc,dkc,icc
++MACH=Core2 OS=ALL LVL=950 COMPS=smc,dmc,skc,dkc,icc
+ 'gcc' '-fomit-frame-pointer -mfpmath=sse -msse3 -O2'
++MACH=Core2 OS=ALL LVL=1000 COMPS=smc,dmc,skc,dkc,icc,xcc
++ 'clang' '-fomit-frame-pointer -msse3 -O3'
+ MACH=Atom OS=ALL LVL=1000 COMPS=smc,dmc,skc,dkc
+ 'gcc' '-O3 -fno-schedule-insns2 -funroll-all-loops -fno-tree-ch'
+ MACH=Atom OS=ALL LVL=1000 COMPS=icc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110818/fbfba369/attachment-0001.html>
More information about the macports-changes
mailing list