cmake(3rdparty): drop simd warning in libjpeg-turbo
This commit is contained in:
parent
b16f76eede
commit
726f0adde3
@ -1,5 +1,5 @@
|
|||||||
macro(simd_fail message)
|
macro(simd_fail message)
|
||||||
message(WARNING "${message}. Performance will suffer.")
|
message(STATUS "libjpeg-turbo(SIMD): ${message}. Performance will suffer.")
|
||||||
set(WITH_SIMD 0 PARENT_SCOPE)
|
set(WITH_SIMD 0 PARENT_SCOPE)
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
@ -361,7 +361,7 @@ if(NOT NEON_INTRINSICS)
|
|||||||
-x assembler-with-cpp -c ${CMAKE_CURRENT_BINARY_DIR}/gastest.S
|
-x assembler-with-cpp -c ${CMAKE_CURRENT_BINARY_DIR}/gastest.S
|
||||||
RESULT_VARIABLE RESULT OUTPUT_VARIABLE OUTPUT ERROR_VARIABLE ERROR)
|
RESULT_VARIABLE RESULT OUTPUT_VARIABLE OUTPUT ERROR_VARIABLE ERROR)
|
||||||
if(NOT RESULT EQUAL 0)
|
if(NOT RESULT EQUAL 0)
|
||||||
message(WARNING "GAS appears to be broken. Using the full Neon SIMD intrinsics implementation.")
|
message(STATUS "libjpeg-turbo(SIMD): GAS appears to be broken. Using the full Neon SIMD intrinsics implementation.")
|
||||||
set(NEON_INTRINSICS 1 CACHE INTERNAL "" FORCE)
|
set(NEON_INTRINSICS 1 CACHE INTERNAL "" FORCE)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user