[test-suite] r286196 - cmake: Avoid CC_UNDER_TEST_XXX variables

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 7 18:17:15 PST 2016


Author: matze
Date: Mon Nov  7 20:17:15 2016
New Revision: 286196

URL: http://llvm.org/viewvc/llvm-project?rev=286196&view=rev
Log:
cmake: Avoid CC_UNDER_TEST_XXX variables

They have been used in the Makefile build, but the cmake build never
sets them.

Modified:
    test-suite/trunk/SingleSource/UnitTests/Vector/CMakeLists.txt

Modified: test-suite/trunk/SingleSource/UnitTests/Vector/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/UnitTests/Vector/CMakeLists.txt?rev=286196&r1=286195&r2=286196&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/UnitTests/Vector/CMakeLists.txt (original)
+++ test-suite/trunk/SingleSource/UnitTests/Vector/CMakeLists.txt Mon Nov  7 20:17:15 2016
@@ -4,16 +4,13 @@ endif()
 if(ARCH STREQUAL "x86")
   add_subdirectory(SSE)
 endif()
-if(NOT "${CC_UNDER_TEST_TARGET_IS_THUMBV7}" STREQUAL "")
+CHECK_SYMBOL_EXISTS(__ARM_NEON "" NEON_AVAILABLE)
+if(NEON_AVAILABLE)
   add_subdirectory(NEON)
 endif()
 if(ARCH STREQUAL "AArch64")
-  add_subdirectory(NEON)
   add_subdirectory(AArch64)
 endif()
-if(NOT DEFINED CC_UNDER_TEST_IS_CLANG)
-  set(PROGRAMS_TO_SKIP constpool)
-endif()
 if(ARCH STREQUAL "XCore")
   if(NOT DEFINED SMALL_PROBLEM_SIZE)
     set(RUNTIMELIMIT 7200)




More information about the llvm-commits mailing list