[compiler-rt] [TySan][CMake] Depend on tysan for check-tysan in runtimes build (PR #143597)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 10 13:44:44 PDT 2025


================
@@ -21,7 +21,7 @@ foreach(arch ${TYSAN_TEST_ARCH})
 endforeach()
 
 set(TYSAN_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS})
-if(NOT COMPILER_RT_STANDALONE_BUILD)
+if(NOT COMPILER_RT_STANDALONE_BUILD OR LLVM_RUNTIMES_BUILD)
----------------
boomanaiden154 wrote:

Potentially? It definitely is set to true though.

It looks like the runtimes build is setup in such a way that the check below ends up firing because for whatever reason `CMAKE_SOURCE_DIR` is set to `compiler-rt`/

https://github.com/llvm/llvm-project/blob/a7f495f170864e6bddc4bb29ae7fae293a7136aa/compiler-rt/CMakeLists.txt#L21

https://github.com/llvm/llvm-project/pull/143597


More information about the llvm-commits mailing list