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

michaelld at macports.org michaelld at macports.org
Thu Aug 15 06:23:19 PDT 2013


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
 
 # let CMake figure out some flags
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130815/47d05784/attachment.html>


More information about the macports-changes mailing list