[clang] 4d75717 - [NFC] Add split-file as runtime test dependency
Hongtao Yu via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 2 11:22:44 PST 2023
Author: YongKang Zhu
Date: 2023-02-02T11:22:26-08:00
New Revision: 4d757177df473691640095ea8b0e2104a97af83f
URL: https://github.com/llvm/llvm-project/commit/4d757177df473691640095ea8b0e2104a97af83f
DIFF: https://github.com/llvm/llvm-project/commit/4d757177df473691640095ea8b0e2104a97af83f.diff
LOG: [NFC] Add split-file as runtime test dependency
Here is a similar change that adds `split-file` as compiler-rt test dependency: https://reviews.llvm.org/rG0eb01a9c4581a24c163f3464cebdb20534fbda35
Reviewed By: thevinster
Differential Revision: https://reviews.llvm.org/D143123
Added:
Modified:
clang/runtime/CMakeLists.txt
llvm/runtimes/CMakeLists.txt
Removed:
################################################################################
diff --git a/clang/runtime/CMakeLists.txt b/clang/runtime/CMakeLists.txt
index 0cccf730e417d..94b5d783ce361 100644
--- a/clang/runtime/CMakeLists.txt
+++ b/clang/runtime/CMakeLists.txt
@@ -132,7 +132,7 @@ if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND EXISTS ${COMPILER_RT_SRC_ROOT}/)
if(LLVM_INCLUDE_TESTS)
# Add binaries that compiler-rt tests depend on.
set(COMPILER_RT_TEST_DEPENDENCIES
- FileCheck count not llvm-nm llvm-objdump llvm-symbolizer llvm-jitlink lli)
+ FileCheck count not llvm-nm llvm-objdump llvm-symbolizer llvm-jitlink lli split-file)
# Add top-level targets for various compiler-rt test suites.
set(COMPILER_RT_TEST_SUITES check-fuzzer check-asan check-hwasan check-asan-dynamic check-dfsan
diff --git a/llvm/runtimes/CMakeLists.txt b/llvm/runtimes/CMakeLists.txt
index 2d0689d1ed4ec..5bb890452c215 100644
--- a/llvm/runtimes/CMakeLists.txt
+++ b/llvm/runtimes/CMakeLists.txt
@@ -503,6 +503,7 @@ if(runtimes)
sanstats
llvm_gtest_main
llvm_gtest
+ split-file
)
foreach(target ${test_targets} ${SUB_CHECK_TARGETS})
add_dependencies(${target} ${RUNTIMES_TEST_DEPENDS})
More information about the cfe-commits
mailing list