mirror of
https://gitee.com/openharmony/third_party_spirv-tools
synced 2024-11-23 15:30:36 +00:00
Don't check exports on Darwin
Android NDK build machines for OSX don't seem to have objdump.
This commit is contained in:
parent
85d3715725
commit
ba40400ca9
@ -169,7 +169,10 @@ endif()
|
||||
|
||||
find_host_package(PythonInterp)
|
||||
|
||||
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux" OR "${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
|
||||
# Check for symbol exports on Linux.
|
||||
# At the moment, this check will fail on the OSX build machines for the Android NDK.
|
||||
# It appears they don't have objdump.
|
||||
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
|
||||
macro(spvtools_check_symbol_exports TARGET)
|
||||
if (NOT "${SPIRV_SKIP_TESTS}")
|
||||
add_test(NAME spirv-tools-symbol-exports-${TARGET}
|
||||
|
Loading…
Reference in New Issue
Block a user