[compiler-rt] [llvm] [compiler-rt] Add check-builtins target for LLVM_ENABLE_RUNTIMES builds (PR #166837)
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 7 23:51:28 PST 2025
================
@@ -1,6 +1,16 @@
set(BUILTINS_LIT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
-set(BUILTINS_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS} builtins)
+# If COMPILER_RT_FORCE_TEST_BUILTINS_DIR is set, the builtins
+# were already built and we are just going to test them.
+# NOTE: This is currently an LLVM-internal option which should
+# only be used by the LLVM_ENABLE_RUNTIMES build configured
+# in llvm/runtimes/CMakeLists.txt
+if(COMPILER_RT_FORCE_TEST_BUILTINS_DIR)
----------------
petrhosek wrote:
I'd consider omitting the `_FORCE` bit a call it just `COMPILER_RT_TEST_BUILTINS_DIR`.
https://github.com/llvm/llvm-project/pull/166837
More information about the llvm-commits
mailing list