mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-15 05:22:53 +08:00
Remove fallback to portable SIMD instructions on unknown compilers
This commit is contained in:
parent
10892291c2
commit
d3fcdad9be
@ -62,7 +62,6 @@ else()
|
||||
add_compile_definitions(SIMDE_NO_NATIVE)
|
||||
endif()
|
||||
|
||||
# Enable OpenMP SIMD support globally
|
||||
find_package(OpenMP QUIET)
|
||||
if(OpenMP_CXX_FOUND)
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "MSVC")
|
||||
@ -75,8 +74,3 @@ if(OpenMP_CXX_FOUND)
|
||||
else()
|
||||
message(WARNING "OpenMP not found; SIMD performance may be suboptimal")
|
||||
endif()
|
||||
|
||||
if(NOT (CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID STREQUAL "Clang" OR CMAKE_C_COMPILER_ID STREQUAL "AppleClang" OR CMAKE_C_COMPILER_ID STREQUAL "MSVC"))
|
||||
message(WARNING "Unknown compiler; using portable fallback")
|
||||
add_compile_definitions(SIMDE_NO_NATIVE)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user