[compiler-rt] 926f375 - [CMake] Use COMPILER_RT_BUILD_CRT in the condition for test
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 12 10:43:00 PDT 2023
Author: Petr Hosek
Date: 2023-07-12T17:41:16Z
New Revision: 926f3759ec62a8f170e76a60316cc0bdd9dd2ec9
URL: https://github.com/llvm/llvm-project/commit/926f3759ec62a8f170e76a60316cc0bdd9dd2ec9
DIFF: https://github.com/llvm/llvm-project/commit/926f3759ec62a8f170e76a60316cc0bdd9dd2ec9.diff
LOG: [CMake] Use COMPILER_RT_BUILD_CRT in the condition for test
Unlike COMPILER_RT_HAS_CRT this handles the case where CRT is available
but has been disabled by setting COMPILER_RT_BUILD_CRT.
Added:
Modified:
compiler-rt/test/builtins/CMakeLists.txt
Removed:
################################################################################
diff --git a/compiler-rt/test/builtins/CMakeLists.txt b/compiler-rt/test/builtins/CMakeLists.txt
index 2d0cc24ac6e746..a431db8db86237 100644
--- a/compiler-rt/test/builtins/CMakeLists.txt
+++ b/compiler-rt/test/builtins/CMakeLists.txt
@@ -13,7 +13,7 @@ configure_lit_site_cfg(
include(builtin-config-ix)
-if (COMPILER_RT_HAS_CRT)
+if (COMPILER_RT_BUILD_CRT)
list(APPEND BUILTINS_TEST_DEPS crt)
endif()
More information about the llvm-commits
mailing list