mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 12:10:34 +00:00
Remove old CMake support, not used anymore
This commit is contained in:
parent
6509656c79
commit
14e588a6af
@ -181,16 +181,6 @@ if(CPU_IS_x86)
|
|||||||
# Disable SSE4a if Clang is less than version 3.2
|
# Disable SSE4a if Clang is less than version 3.2
|
||||||
if(CMAKE_C_COMPILER_ID MATCHES "Clang")
|
if(CMAKE_C_COMPILER_ID MATCHES "Clang")
|
||||||
# Figure out the version of Clang
|
# Figure out the version of Clang
|
||||||
if(CMAKE_VERSION VERSION_LESS "2.8.10")
|
|
||||||
# Extract the Clang version from the --version string.
|
|
||||||
# In cmake 2.8.10, we can just use CMAKE_C_COMPILER_VERSION
|
|
||||||
# without having to go through these string manipulations
|
|
||||||
execute_process(COMMAND ${CMAKE_C_COMPILER} --version
|
|
||||||
OUTPUT_VARIABLE clang_version
|
|
||||||
)
|
|
||||||
string(REGEX MATCH "[0-9].[0-9]" CMAKE_C_COMPILER_VERSION ${clang_version})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_C_COMPILER_VERSION VERSION_LESS "3.2")
|
if(CMAKE_C_COMPILER_VERSION VERSION_LESS "3.2")
|
||||||
overrule_arch(sse4_a "Clang >= 3.2 required for SSE4a")
|
overrule_arch(sse4_a "Clang >= 3.2 required for SSE4a")
|
||||||
endif()
|
endif()
|
||||||
@ -427,7 +417,6 @@ string(REPLACE "\n" " \\n" COMPILER_INFO ${COMPILER_INFO})
|
|||||||
# Handle ASM support
|
# Handle ASM support
|
||||||
# on by default, but let users turn it off
|
# on by default, but let users turn it off
|
||||||
########################################################################
|
########################################################################
|
||||||
if(${CMAKE_VERSION} VERSION_GREATER "2.8.9")
|
|
||||||
set(ASM_ARCHS_AVAILABLE "neonv7" "neonv8")
|
set(ASM_ARCHS_AVAILABLE "neonv7" "neonv8")
|
||||||
|
|
||||||
set(FULL_C_FLAGS "${CMAKE_C_FLAGS}" "${CMAKE_CXX_COMPILER_ARG1}")
|
set(FULL_C_FLAGS "${CMAKE_C_FLAGS}" "${CMAKE_CXX_COMPILER_ARG1}")
|
||||||
@ -455,15 +444,6 @@ if(${CMAKE_VERSION} VERSION_GREATER "2.8.9")
|
|||||||
message(STATUS "asm flags: ${CMAKE_ASM_FLAGS}")
|
message(STATUS "asm flags: ${CMAKE_ASM_FLAGS}")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
else()
|
|
||||||
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()
|
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
# Handle orc support
|
# Handle orc support
|
||||||
|
11
src/tests/data/gpstk_static.patch
Normal file
11
src/tests/data/gpstk_static.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- CMakeLists.txt 2020-10-25 10:06:26.000000000 +0100
|
||||||
|
+++ CMakeLists.txt 2020-10-25 10:06:11.000000000 +0100
|
||||||
|
@@ -74,7 +74,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
include( BuildSetup.cmake )
|
||||||
|
-
|
||||||
|
+set(STADYN "STATIC")
|
||||||
|
#============================================================
|
||||||
|
# Core Library Target Files
|
||||||
|
#============================================================
|
Loading…
Reference in New Issue
Block a user