[compiler-rt] r371703 - [compiler-rt] Run cpplint only for check-sanitizer

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 18:35:11 PDT 2019


Author: vitalybuka
Date: Wed Sep 11 18:35:11 2019
New Revision: 371703

URL: http://llvm.org/viewvc/llvm-project?rev=371703&view=rev
Log:
[compiler-rt] Run cpplint only for check-sanitizer

Modified:
    compiler-rt/trunk/test/CMakeLists.txt
    compiler-rt/trunk/test/sanitizer_common/CMakeLists.txt

Modified: compiler-rt/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/CMakeLists.txt?rev=371703&r1=371702&r2=371703&view=diff
==============================================================================
--- compiler-rt/trunk/test/CMakeLists.txt (original)
+++ compiler-rt/trunk/test/CMakeLists.txt Wed Sep 11 18:35:11 2019
@@ -26,9 +26,6 @@ if(NOT ANDROID)
       list(APPEND SANITIZER_COMMON_LIT_TEST_DEPS KillTheDoctor)
     endif()
   endif()
-  if(CMAKE_HOST_UNIX)
-    list(APPEND SANITIZER_COMMON_LIT_TEST_DEPS SanitizerLintCheck)
-  endif()
 endif()
 
 function(compiler_rt_test_runtime runtime)

Modified: compiler-rt/trunk/test/sanitizer_common/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/CMakeLists.txt?rev=371703&r1=371702&r2=371703&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/CMakeLists.txt (original)
+++ compiler-rt/trunk/test/sanitizer_common/CMakeLists.txt Wed Sep 11 18:35:11 2019
@@ -1,6 +1,11 @@
 set(SANITIZER_COMMON_LIT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
 
 set(SANITIZER_COMMON_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS})
+
+if(CMAKE_HOST_UNIX)
+  list(APPEND SANITIZER_COMMON_TEST_DEPS SanitizerLintCheck)
+endif()
+
 set(SANITIZER_COMMON_TESTSUITES)
 
 # FIXME(dliew): We should switch to COMPILER_RT_SANITIZERS_TO_BUILD instead of




More information about the llvm-commits mailing list