[compiler-rt] r311824 - Automatically pick up new sanitizers in cmake.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 25 18:13:33 PDT 2017
Author: eugenis
Date: Fri Aug 25 18:13:33 2017
New Revision: 311824
URL: http://llvm.org/viewvc/llvm-project?rev=311824&view=rev
Log:
Automatically pick up new sanitizers in cmake.
Change the default of COMPILER_RT_SANITIZERS_TO_BUILD to "all" in
order to automatically pick up new sanitizers in existing build
trees.
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=311824&r1=311823&r2=311824&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/config-ix.cmake (original)
+++ compiler-rt/trunk/cmake/config-ix.cmake Fri Aug 25 18:13:33 2017
@@ -471,7 +471,7 @@ else()
endif()
set(ALL_SANITIZERS asan;dfsan;msan;tsan;safestack;cfi;esan;scudo)
-set(COMPILER_RT_SANITIZERS_TO_BUILD ${ALL_SANITIZERS} CACHE STRING
+set(COMPILER_RT_SANITIZERS_TO_BUILD all CACHE STRING
"sanitizers to build if supported on the target (all;${ALL_SANITIZERS})")
list_replace(COMPILER_RT_SANITIZERS_TO_BUILD all "${ALL_SANITIZERS}")
More information about the llvm-commits
mailing list