Update quilt patch to match tree changes.
authorPeter Michael Green <plugwash@raspbian.org>
Mon, 13 Jan 2020 03:49:34 +0000 (03:49 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Mon, 13 Jan 2020 03:49:34 +0000 (03:49 +0000)
debian/patches/disable-neon
debian/patches/series

index 5fae61871280a3040eaca37ac4c03233bef17caf..73227b3c02ede9890caf5aa80ac22ca5dcd77111 100644 (file)
@@ -1,28 +1,24 @@
 Description: Disable neon.
 Author: Peter Michael Green <plugwash@raspbian.org>
 
-
---- volk-2.0.0.orig/lib/CMakeLists.txt
-+++ volk-2.0.0/lib/CMakeLists.txt
-@@ -284,9 +284,9 @@ endif(neon_compile_result)
- ########################################################################
- # if building Debian armel, eliminate neon
- ########################################################################
--if(${CMAKE_LIBRARY_ARCHITECTURE} STREQUAL "arm-linux-gnueabi")
--    OVERRULE_ARCH(neon "Architecture is not armhf")
--endif(${CMAKE_LIBRARY_ARCHITECTURE} STREQUAL "arm-linux-gnueabi")
-+#if(${CMAKE_LIBRARY_ARCHITECTURE} STREQUAL "arm-linux-gnueabi")
-+    OVERRULE_ARCH(neon "We don't want neon on raspbian")
-+#endif(${CMAKE_LIBRARY_ARCHITECTURE} STREQUAL "arm-linux-gnueabi")
+--- volk-2.1.0.orig/lib/CMakeLists.txt
++++ volk-2.1.0/lib/CMakeLists.txt
+@@ -273,7 +273,8 @@ else(neon_compile_result)
+     OVERRULE_ARCH(neonv8 "Compiler doesn't support NEON")
+ endif(neon_compile_result)
  
- ########################################################################
+-########################################################################
++OVERRULE_ARCH(neon "We don't want neon on raspbian")
++
  # implement overruling in the ORC case,
-@@ -457,7 +457,7 @@ if((${CMAKE_VERSION} VERSION_GREATER "2.
-   # set up the assembler flags and include the source files
-   foreach(ARCH ${ASM_ARCHS_AVAILABLE})
-       string(REGEX MATCH "${ARCH}" ASM_ARCH "${available_archs}")
--    if( ASM_ARCH STREQUAL "neonv7" )
-+    if( ASM_ARCH STREQUAL "neonv7xxxxx" )
-       message(STATUS "---- Adding ASM files") # we always use ATT syntax
-       message(STATUS "-- Detected neon architecture; enabling ASM")
-       # setup architecture specific assembler flags
+ # since ORC always passes flag detection
+ ########################################################################
+@@ -441,7 +442,7 @@ set(FULL_C_FLAGS "${CMAKE_C_FLAGS}" "${C
+ # set up the assembler flags and include the source files
+ foreach(ARCH ${ASM_ARCHS_AVAILABLE})
+   string(REGEX MATCH "${ARCH}" ASM_ARCH "${available_archs}")
+-if( ASM_ARCH STREQUAL "neonv7" )
++if( ASM_ARCH STREQUAL "neonv7xxxxxxxxxx" )
+   message(STATUS "---- Adding ASM files") # we always use ATT syntax
+   message(STATUS "-- Detected neon architecture; enabling ASM")
+   # architecture specific assembler flags are now set in the cmake toolchain file
index caca93768fa1dc2a70c2025b83c3d062445a82e0..6b56aa1fb816a6477dd151e0be3ed7f3efc2664e 100644 (file)
@@ -1,4 +1,4 @@
 make-acc-happy
 optional-static-apps
 remove-external-HTML-resources
-disable-neon
+disable-neon
\ No newline at end of file