Changeset 109428


Ignore:
Timestamp:
Aug 15, 2013, 1:23:19 PM (4 years ago)
Author:
michaelld@…
Message:

gnuradio: VOLK requires an Apple GCC variant (including the ones from MacPorts), for now; blacklist all others, for now. Addresses ticket #37979.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/gnuradio/Portfile

    r109028 r109428  
    140140build.dir           ${vpath}
    141141
    142 # VOLK compiles best with GCC of some type;
    143 # print a warning if using clang
    144 
    145 pre-configure {
    146     if {${configure.compiler} == "clang"} {
    147         ui_msg "WARNING: GNU Radio's VOLK component (which handles vector optimized instructions and routines) compiles best when using GCC.  The selected compiler is CLANG, which will result in a fully functioning GNU Radio install but the VOLK component will not utilize the CPU's capabilities."
    148     }
    149 }
     142# VOLK requires an Apple GCC variant (including the ones from
     143# MacPorts), for now; blacklist all others, for now.
     144
     145compiler.blacklist \
     146    clang macports-gcc-4.1 macports-gcc-4.2 macports-gcc-4.3 \
     147    macports-gcc-4.4 macports-gcc-4.5 macports-gcc-4.6 macports-gcc-4.7 \
     148    macports-gcc-4.8 macports-clang-2.9 macports-clang-3.0 \
     149    macports-clang-3.1 macports-clang-3.2
    150150
    151151# let CMake figure out some flags
Note: See TracChangeset for help on using the changeset viewer.