[compiler-rt] r219304 - Separating ARM/AArch64 Compiler-RT tests
Renato Golin
renato.golin at linaro.org
Wed Oct 8 06:47:19 PDT 2014
Author: rengolin
Date: Wed Oct 8 08:47:18 2014
New Revision: 219304
URL: http://llvm.org/viewvc/llvm-project?rev=219304&view=rev
Log:
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.
Modified:
compiler-rt/trunk/cmake/config-ix.cmake
Modified: compiler-rt/trunk/cmake/config-ix.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/config-ix.cmake?rev=219304&r1=219303&r2=219304&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/config-ix.cmake (original)
+++ compiler-rt/trunk/cmake/config-ix.cmake Wed Oct 8 08:47:18 2014
@@ -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()
More information about the llvm-commits
mailing list