New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82290


Ignore:
Timestamp:
08/11/11 23:53:04 (4 years ago)
Author:
vince@…
Message:

Downgrade Core i2 CPU to Core i1 on Snow Leopard, too.

File:
1 edited

Legend:

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

    r82248 r82290  
    169169} 
    170170 
    171 if { ${os.major} == 11 && \ 
    172         [exec sysctl -n hw.optional.avx1_0] == 1 } { 
     171if { (${os.major} == 11 && \ 
     172        [exec sysctl -n hw.optional.avx1_0] == 1) || \ 
     173        [exec sysctl -n hw.cpufamily] == 1418770316 } { 
    173174        # Corei2 is not supported yet because gcc4.5 does not 
    174175        # support AVX instructions and gcc4.6 does not compile yet. 
Note: See TracChangeset for help on using the changeset viewer.