Compiler selection

Brandon Allbery allbery.b at gmail.com
Wed Aug 14 11:40:18 PDT 2013


On Wed, Aug 14, 2013 at 2:21 PM, Dan Aldrich <daldrich at earthlink.net> wrote:

> Attempting to build gnuradio. I get the warning:
>
> 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.
>
> Is there a way to tell macports what compiler to use? Tried to use
> gcc_select, didn't work. GCC on this machine is apple's 4.2.1. Tried to do
> an update, but that errored off as well.
>

That is ... one obnoxious port. If it's going to complain about compiler
choices, it should provide a way to specify them (via variants).

As it is, you'll need to use configure.compiler:

    sudo port install gnuradio (variabts here) configure.compiler=mp-gcc-4.7

or something like that.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20130814/4c65bdf7/attachment.html>


More information about the macports-users mailing list