We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66fde79 + 829ddbe commit 78ed87aCopy full SHA for 78ed87a
llvm/CMakeLists.txt
@@ -959,7 +959,8 @@ if (LLVM_LINK_LLVM_DYLIB AND BUILD_SHARED_LIBS)
959
endif()
960
961
option(LLVM_OPTIMIZED_TABLEGEN "Force TableGen to be built with optimization" OFF)
962
-if(CMAKE_CROSSCOMPILING OR (LLVM_OPTIMIZED_TABLEGEN AND (LLVM_ENABLE_ASSERTIONS OR CMAKE_CONFIGURATION_TYPES)))
+if(CMAKE_CROSSCOMPILING OR (LLVM_OPTIMIZED_TABLEGEN AND (LLVM_ENABLE_ASSERTIONS
963
+ OR CMAKE_CONFIGURATION_TYPES OR LLVM_USE_SANITIZER)))
964
set(LLVM_USE_HOST_TOOLS ON)
965
966
0 commit comments