New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82683


Ignore:
Timestamp:
08/17/11 19:39:15 (4 years ago)
Author:
vince@…
Message:

Corrects a mistake (stale version of Portfile) in r82670 – puts back r82612.

Location:
trunk/dports/math/atlas
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/atlas/Portfile

    r82670 r82683  
    175175} 
    176176 
    177 if { (${os.major} == 11 && [exec sysctl -n hw.optional.avx1_0] == 1) || \ 
    178          (${os.major} > 8 && [exec sysctl -n hw.cpufamily] == 1418770316) } { 
     177if { (${os.major} == 11 && [sysctl hw.optional.avx1_0] == 1) || \ 
     178         (${os.major} > 8 && [sysctl hw.cpufamily] == 1418770316) } { 
    179179        # Corei2 is not supported yet because gcc4.5 does not 
    180180        # support AVX instructions and gcc4.6 does not compile yet. 
     
    270270 
    271271        # Get some system specific variables for maximum optimization 
    272         set                     cpufreq [expr {[exec sysctl -n hw.cpufrequency]/1000000}] 
     272        set                     cpufreq [expr {[sysctl hw.cpufrequency]/1000000}] 
    273273        ui_debug        "Setting CPU Frequency for: ${cpufreq}" 
    274274 
     
    337337  # We have to manually create the dylib shared libs as the default build does not do this 
    338338 
    339   set ncpu [exec sysctl -n hw.ncpu] 
     339  set ncpu [sysctl hw.ncpu] 
    340340 
    341341        if { [variant_isset universal] } { 
Note: See TracChangeset for help on using the changeset viewer.