Ignore:
Timestamp:
Oct 1, 2013, 9:11:28 AM (6 years ago)
Author:
vince@…
Message:

Re-enable the +clang variant for XCode > 5

File:
1 edited

Legend:

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

    r111754 r111764  
    9494
    9595    pre-fetch {
    96         return -code error        "Use of clang is temporarily disabled.\
    97                                    Please choose gcc47 instead."
     96        if {${xcodeversion} < 5.0} {
     97            return -code error    "This clang version is not supported.\
     98                                    Please upgrade to Xcode 5."
     99        }
    98100    }
    99101
     
    232234
    233235    # Clang
    234     if {${use_clang} == "XCode" } {
    235 
    236         pre-fetch {       
    237             ui_warn "Compiling Atlas with this version of clang is\
    238                     likely *NOT* to work. Please use clang-3.3 or\
    239                     higher."
    240         }
    241         set clang_flags "-O3 -fomit-frame-pointer -fPIC"
    242     } else {
    243 
    244         # Clang 3.3 – Use loop and straight vectorizer
    245         set clang_flags "-O3 -fomit-frame-pointer -fPIC"
    246 
    247     }
     236    set clang_flags "-O3 -fomit-frame-pointer -fPIC"
    248237
    249238    # Vectorizing unit flags
Note: See TracChangeset for help on using the changeset viewer.