Changeset 82612
- Timestamp:
- 08/16/11 12:08:53 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/math/atlas/Portfile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/math/atlas/Portfile
r82585 r82612 171 171 } 172 172 173 if { (${os.major} == 11 && [ exec sysctl -nhw.optional.avx1_0] == 1) || \174 (${os.major} > 8 && [ exec sysctl -nhw.cpufamily] == 1418770316) } {173 if { (${os.major} == 11 && [sysctl hw.optional.avx1_0] == 1) || \ 174 (${os.major} > 8 && [sysctl hw.cpufamily] == 1418770316) } { 175 175 # Corei2 is not supported yet because gcc4.5 does not 176 176 # support AVX instructions and gcc4.6 does not compile yet. … … 266 266 267 267 # Get some system specific variables for maximum optimization 268 set cpufreq [expr {[ exec sysctl -nhw.cpufrequency]/1000000}]268 set cpufreq [expr {[sysctl hw.cpufrequency]/1000000}] 269 269 ui_debug "Setting CPU Frequency for: ${cpufreq}" 270 270 … … 333 333 # We have to manually create the dylib shared libs as the default build does not do this 334 334 335 set ncpu [ exec sysctl -nhw.ncpu]335 set ncpu [sysctl hw.ncpu] 336 336 337 337 if { [variant_isset universal] } {
Note: See TracChangeset
for help on using the changeset viewer.

