[109428] trunk/dports/science/gnuradio/Portfile

Ryan Schmidt ryandesign at macports.org
Thu Aug 15 08:00:44 PDT 2013


On Aug 15, 2013, at 08:23, michaelld at macports.org wrote:

> Revision: 109428
>          https://trac.macports.org/changeset/109428
> Author:   michaelld at macports.org
> Date:     2013-08-15 06:23:19 -0700 (Thu, 15 Aug 2013)
> Log Message:
> -----------
> gnuradio: VOLK requires an Apple GCC variant (including the ones from MacPorts), for now; blacklist all others, for now.  Addresses ticket #37979.
> 
> Modified Paths:
> --------------
>    trunk/dports/science/gnuradio/Portfile
> 
> Modified: trunk/dports/science/gnuradio/Portfile
> ===================================================================
> --- trunk/dports/science/gnuradio/Portfile	2013-08-15 13:11:47 UTC (rev 109427)
> +++ trunk/dports/science/gnuradio/Portfile	2013-08-15 13:23:19 UTC (rev 109428)
> @@ -139,14 +139,14 @@
> configure.dir       ${vpath}
> build.dir           ${vpath}
> 
> -# VOLK compiles best with GCC of some type;
> -# print a warning if using clang
> +# VOLK requires an Apple GCC variant (including the ones from
> +# MacPorts), for now; blacklist all others, for now.
> 
> -pre-configure {
> -    if {${configure.compiler} == "clang"} {
> -        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."
> -    }
> -}
> +compiler.blacklist \
> +    clang macports-gcc-4.1 macports-gcc-4.2 macports-gcc-4.3 \
> +    macports-gcc-4.4 macports-gcc-4.5 macports-gcc-4.6 macports-gcc-4.7 \
> +    macports-gcc-4.8 macports-clang-2.9 macports-clang-3.0 \
> +    macports-clang-3.1 macports-clang-3.2

Note that there is no gcc41 port; the gcc42 port will be deleted soon; there are gcc49, clang33 and clang34 ports which you may also want to blacklist.



More information about the macports-dev mailing list