commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 01/04: Fatal error when using cmake < 2.8.1


From: git
Subject: [Commit-gnuradio] [gnuradio] 01/04: Fatal error when using cmake < 2.8.10 on ARM NEON
Date: Thu, 25 Sep 2014 16:19:57 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

trondeau pushed a commit to branch master
in repository gnuradio.

commit 27e90ddc74b61248b10495408d3d347acb318699
Author: Doug Geiger <address@hidden>
Date:   Wed Sep 24 20:54:21 2014 -0400

    Fatal error when using cmake < 2.8.10 on ARM NEON
    
    Address issue #733: This makes the known issue of building VOLK for ARM 
NEON with
    CMake version < 2.8.10 a fatal error at cmake time, and gives a message to 
that effect.
    This is considered preferable to a linking error towards the end of the 
build.
---
 volk/lib/CMakeLists.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/volk/lib/CMakeLists.txt b/volk/lib/CMakeLists.txt
index 202418a..386237b 100644
--- a/volk/lib/CMakeLists.txt
+++ b/volk/lib/CMakeLists.txt
@@ -428,6 +428,12 @@ if(${CMAKE_VERSION} VERSION_GREATER "2.8.9")
 
 else(${CMAKE_VERSION} VERSION_GREATER "2.8.9")
   message(STATUS "Not enabling ASM support. CMake >= 2.8.10 required.")
+  foreach(machine_name ${available_machines})
+    string(REGEX MATCH "neon" NEON_MACHINE ${machine_name})
+    if( NEON_MACHINE STREQUAL "neon")
+      message(FATAL_ERROR "CMake >= 2.8.10 is required for ARM NEON support")
+    endif()
+  endforeach()
 endif(${CMAKE_VERSION} VERSION_GREATER "2.8.9")
 
 ########################################################################



reply via email to

[Prev in Thread] Current Thread [Next in Thread]