forked from OSchip/llvm-project
Separating ARM/AArch64 Compiler-RT tests
Makes sure ARM bots don't run AArch64 and vice-versa, since not all AArch64 systems can run AArch32 and no ARM hardware can run AArch64. llvm-svn: 219304
This commit is contained in:
parent
1b175e4098
commit
34cb659103
|
@ -140,11 +140,12 @@ else()
|
|||
test_target_arch(mips ${TARGET_32_BIT_CFLAGS})
|
||||
test_target_arch(mips64 ${TARGET_64_BIT_CFLAGS})
|
||||
endif()
|
||||
endif()
|
||||
# Build ARM libraries if we are configured to test on ARM
|
||||
if("${COMPILER_RT_TEST_TARGET_ARCH}" MATCHES "arm|aarch64")
|
||||
elseif("${COMPILER_RT_TEST_TARGET_ARCH}" MATCHES "arm")
|
||||
test_target_arch(arm "-march=armv7-a")
|
||||
test_target_arch(aarch64 "-march=armv8-a")
|
||||
elseif("${COMPILER_RT_TEST_TARGET_ARCH}" MATCHES "aarch32")
|
||||
test_target_arch(aarch32 "-march=armv8-a")
|
||||
elseif("${COMPILER_RT_TEST_TARGET_ARCH}" MATCHES "aarch64")
|
||||
test_target_arch(aarch64 "-march=aarch64")
|
||||
endif()
|
||||
set(COMPILER_RT_OS_SUFFIX "")
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue