[114214] trunk/dports/science/gnuradio

michaelld at macports.org michaelld at macports.org
Mon Dec 2 16:16:08 PST 2013


Revision: 114214
          https://trac.macports.org/changeset/114214
Author:   michaelld at macports.org
Date:     2013-12-02 16:16:08 -0800 (Mon, 02 Dec 2013)
Log Message:
-----------
gnuradio:
+ update release to 3.7.2.1, which removes the need for a patch;
+ update devel to 258e0f3b and next to 40fee81c, both 20131201.

Modified Paths:
--------------
    trunk/dports/science/gnuradio/Portfile

Removed Paths:
-------------
    trunk/dports/science/gnuradio/files/patch-volk_lib_CMakeLists.txt.diff

Modified: trunk/dports/science/gnuradio/Portfile
===================================================================
--- trunk/dports/science/gnuradio/Portfile	2013-12-02 21:49:15 UTC (rev 114213)
+++ trunk/dports/science/gnuradio/Portfile	2013-12-03 00:16:08 UTC (rev 114214)
@@ -22,7 +22,7 @@
 
 if {${subport} eq ${name}} {
 
-    version         3.7.2
+    version         3.7.2.1
 
     long_description    ${description}: \
         This port is kept up with the GNU Radio release, currently ${version}, which is typically updated every few months.
@@ -34,13 +34,9 @@
     master_sites    http://gnuradio.org/releases/gnuradio gnu
 
     checksums \
-        rmd160  544dce18b81824437ed9919b4f65d3a3f4f9dceb \
-        sha256  b80b42eaa091cb77a168e15b029307856db249d460ff06dfdf292802c19a2669
+        rmd160 14a04753ce6185daa92ebcb6619df9c130a70757 \
+        sha256 8c6b7e1fda31e9228bdd62a137af901b28757d7e1b044de2e985b96e53c83c80
 
-    # add check for cvtpi32_ps intrinsic
-
-    patchfiles-append patch-volk_lib_CMakeLists.txt.diff
-
     livecheck.url   http://gnuradio.org/releases/gnuradio/?C=M&O=D
     livecheck.regex >LATEST-IS-(\[^<\]*)<
 
@@ -89,13 +85,13 @@
     long_description    ${description}: \
         This port is kept up with the GNU Radio GIT 'master' branch, which is typically updated daily to weekly.  This version of GNU Radio generally contains fixes to, and its API is compatible with, the current GNU Radio release, and will be incorporated in an upcoming release.  This port may or not compile or function correctly, as it represents a work in progress.  If it does not work, check back in a few days.  Or try deactivating the currently active gnuradio port, cleaning any current builds, and trying again.
 
-    version             3.7.3_20131127
+    version             3.7.3_20131201
 
     conflicts           gnuradio-legacy gnuradio gnuradio-next
 
     fetch.type          git
     git.url             http://git.gnuradio.org/git/gnuradio.git
-    git.branch          3b1089fadaff7d87b74d50aad2ac120e1d33d10c
+    git.branch          258e0f3bd296f7ec0e05290faee0a51181b0e675
 
     livecheck.url       http://gnuradio.org/cgit/gnuradio.git/log/?h=master
     livecheck.version   ${git.branch}
@@ -108,13 +104,13 @@
     long_description    ${description}: \
         This port is kept up with the GNU Radio GIT 'next' branch, which is typically updated daily to weekly.  This version of GNU Radio represents the next major release of GNU Radio, and hence its API is likely to be different than that provided by either gnuradio or gnuradio-devel.  This port may or not compile or function correctly, as it represents a work in progress.  If it does not work, check back in a few days.  Or try deactivating the currently active gnuradio port, cleaning any current builds, and trying again.
 
-    version             3.8.0_20131127
+    version             3.8.0_20131201
 
     conflicts           gnuradio-legacy gnuradio gnuradio-devel
 
     fetch.type          git
     git.url             http://git.gnuradio.org/git/gnuradio.git
-    git.branch          518e89f7b6cc2ab7716a5930429588185345ce6a
+    git.branch          40fee81c254da16f90b5e79cd9f8bda7cd58ea85
 
     livecheck.url       http://gnuradio.org/cgit/gnuradio.git/log/?h=next
     livecheck.version   ${git.branch}

Deleted: trunk/dports/science/gnuradio/files/patch-volk_lib_CMakeLists.txt.diff
===================================================================
--- trunk/dports/science/gnuradio/files/patch-volk_lib_CMakeLists.txt.diff	2013-12-02 21:49:15 UTC (rev 114213)
+++ trunk/dports/science/gnuradio/files/patch-volk_lib_CMakeLists.txt.diff	2013-12-03 00:16:08 UTC (rev 114214)
@@ -1,54 +0,0 @@
---- volk/lib/CMakeLists.txt.orig
-+++ volk/lib/CMakeLists.txt
-@@ -122,6 +122,7 @@ endmacro(OVERRULE_ARCH)
- # the xgetbv instruction, or {if not cross-compiling and the xgetbv
- # executable does not function correctly}.
- ########################################################################
-+set(HAVE_XGETBV 0)
- if(CPU_IS_x86)
-     # check to see if the compiler/linker works with xgetb instruction
-     file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/test_xgetbv.c "unsigned long long _xgetbv(unsigned int index) { unsigned int eax, edx; __asm__ __volatile__(\"xgetbv\" : \"=a\"(eax), \"=d\"(edx) : \"c\"(index)); return ((unsigned long long)edx << 32) | eax; } int main (void) { (void) _xgetbv(0); return (0); }")
-@@ -139,17 +140,41 @@ if(CPU_IS_x86)
-         if(NOT ${avx_exe_result} EQUAL 0)
-             OVERRULE_ARCH(avx "CPU missing xgetbv.")
-         else()
--            add_definitions(-DHAVE_XGETBV)
-+            set(HAVE_XGETBV 1)
-         endif()
-     else()
-         # cross compiling and compiler/linker seems to work; assume working
--        add_definitions(-DHAVE_XGETBV)
-+        set(HAVE_XGETBV 1)
-     endif()
-     file(REMOVE ${CMAKE_CURRENT_BINARY_DIR}/test_xgetbv
-         ${CMAKE_CURRENT_BINARY_DIR}/test_xgetbv.c)
- endif()
- 
- ########################################################################
-+# eliminate AVX if cvtpi32_ps intrinsic fails on Apple
-+########################################################################
-+
-+if(${HAVE_XGETBV} AND APPLE)
-+    # check to see if the compiler/linker works with cvtpi32_ps instrinsic
-+    file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/test_cvtpi32_ps.c "#include <immintrin.h>\nint main (void) {__m128 __a; __m64 __b; __m128 foo = _mm_cvtpi32_ps(__a, __b); return (0); }")
-+    execute_process(COMMAND ${CMAKE_C_COMPILER} -mavx -o
-+        ${CMAKE_CURRENT_BINARY_DIR}/test_cvtpi32_ps
-+        ${CMAKE_CURRENT_BINARY_DIR}/test_cvtpi32_ps.c
-+        OUTPUT_QUIET ERROR_QUIET
-+        RESULT_VARIABLE avx_compile_result)
-+   if(NOT ${avx_compile_result} EQUAL 0)
-+        OVERRULE_ARCH(avx "Compiler missing cvtpi32_ps instrinsic")
-+	set(HAVE_XGETBV 0)
-+    endif()
-+    file(REMOVE ${CMAKE_CURRENT_BINARY_DIR}/test_cvtpi32_ps
-+        ${CMAKE_CURRENT_BINARY_DIR}/test_cvtpi32_ps.c)
-+endif()
-+
-+if(${HAVE_XGETBV})
-+    add_definitions(-DHAVE_XGETBV)
-+endif()
-+
-+########################################################################
- # implement overruling in the ORC case,
- # since ORC always passes flag detection
- ########################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131202/3de93b85/attachment.html>


More information about the macports-changes mailing list