New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82670


Ignore:
Timestamp:
08/17/11 14:06:35 (4 years ago)
Author:
vince@…
Message:

Avoid ATLAS to use plain 'gcc' despite configuration orders (#30750)

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

Legend:

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

    r82612 r82670  
    3535                                        patch-ATL_goparallel_prank_c.diff \ 
    3636                                        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 
    3841 
    3942 
     
    9093                configure.compiler      clang 
    9194                configure.f77           ${prefix}/bin/gfortran-mp-4.5 
     95                patchfiles-append       patch-clang.diff 
    9296        } else { 
    9397                return -code error "GCC/GFortran 4.6 is not yet available" 
     
    171175} 
    172176 
    173 if { (${os.major} == 11 && [sysctl hw.optional.avx1_0] == 1) || \ 
    174          (${os.major} > 8 && [sysctl hw.cpufamily] == 1418770316) } { 
     177if { (${os.major} == 11 && [exec sysctl -n hw.optional.avx1_0] == 1) || \ 
     178         (${os.major} > 8 && [exec sysctl -n hw.cpufamily] == 1418770316) } { 
    175179        # Corei2 is not supported yet because gcc4.5 does not 
    176180        # support AVX instructions and gcc4.6 does not compile yet. 
     
    266270 
    267271        # Get some system specific variables for maximum optimization 
    268         set                     cpufreq [expr {[sysctl hw.cpufrequency]/1000000}] 
     272        set                     cpufreq [expr {[exec sysctl -n hw.cpufrequency]/1000000}] 
    269273        ui_debug        "Setting CPU Frequency for: ${cpufreq}" 
    270274 
     
    333337  # We have to manually create the dylib shared libs as the default build does not do this 
    334338 
    335   set ncpu [sysctl hw.ncpu] 
     339  set ncpu [exec sysctl -n hw.ncpu] 
    336340 
    337341        if { [variant_isset universal] } { 
Note: See TracChangeset for help on using the changeset viewer.