Changeset 82670
- Timestamp:
- 08/17/11 14:06:35 (4 years ago)
- Location:
- trunk/dports/math/atlas
- Files:
-
- 2 added
- 1 edited
-
Portfile (modified) (5 diffs)
-
files/patch-mmparse_h.diff (added)
-
files/patch-mvparse_h.diff (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/math/atlas/Portfile
r82612 r82670 35 35 patch-ATL_goparallel_prank_c.diff \ 36 36 patch-ATL_go_parallel_c.diff \ 37 patch-atlas_l2g_base.diff 37 patch-atlas_l2g_base.diff \ 38 patch-mmparse_h.diff \ 39 patch-mvparse_h.diff 40 38 41 39 42 … … 90 93 configure.compiler clang 91 94 configure.f77 ${prefix}/bin/gfortran-mp-4.5 95 patchfiles-append patch-clang.diff 92 96 } else { 93 97 return -code error "GCC/GFortran 4.6 is not yet available" … … 171 175 } 172 176 173 if { (${os.major} == 11 && [ sysctlhw.optional.avx1_0] == 1) || \174 (${os.major} > 8 && [ sysctlhw.cpufamily] == 1418770316) } {177 if { (${os.major} == 11 && [exec sysctl -n hw.optional.avx1_0] == 1) || \ 178 (${os.major} > 8 && [exec sysctl -n hw.cpufamily] == 1418770316) } { 175 179 # Corei2 is not supported yet because gcc4.5 does not 176 180 # support AVX instructions and gcc4.6 does not compile yet. … … 266 270 267 271 # Get some system specific variables for maximum optimization 268 set cpufreq [expr {[ sysctlhw.cpufrequency]/1000000}]272 set cpufreq [expr {[exec sysctl -n hw.cpufrequency]/1000000}] 269 273 ui_debug "Setting CPU Frequency for: ${cpufreq}" 270 274 … … 333 337 # We have to manually create the dylib shared libs as the default build does not do this 334 338 335 set ncpu [ sysctlhw.ncpu]339 set ncpu [exec sysctl -n hw.ncpu] 336 340 337 341 if { [variant_isset universal] } {
Note: See TracChangeset
for help on using the changeset viewer.

