[compiler-rt] 4adc5be - [ORC-RT] Make llvm-jitlink an ORC-RT specific dependence.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 30 17:20:07 PDT 2022
Author: Lang Hames
Date: 2022-08-30T17:19:54-07:00
New Revision: 4adc5bead4ac6d82a5f62fbc8492cac391653091
URL: https://github.com/llvm/llvm-project/commit/4adc5bead4ac6d82a5f62fbc8492cac391653091
DIFF: https://github.com/llvm/llvm-project/commit/4adc5bead4ac6d82a5f62fbc8492cac391653091.diff
LOG: [ORC-RT] Make llvm-jitlink an ORC-RT specific dependence.
The llvm-jitlink tool is not needed by other sanitizer tests.
Added:
Modified:
compiler-rt/test/CMakeLists.txt
compiler-rt/test/orc/CMakeLists.txt
Removed:
################################################################################
diff --git a/compiler-rt/test/CMakeLists.txt b/compiler-rt/test/CMakeLists.txt
index 3cbfc4b0e544..e905b606c51c 100644
--- a/compiler-rt/test/CMakeLists.txt
+++ b/compiler-rt/test/CMakeLists.txt
@@ -32,8 +32,7 @@ if(NOT ANDROID)
# Use LLVM utils and Clang from the same build tree.
list(APPEND SANITIZER_COMMON_LIT_TEST_DEPS
clang clang-resource-headers FileCheck count not llvm-config llvm-nm llvm-objdump
- llvm-readelf llvm-readobj llvm-size llvm-symbolizer compiler-rt-headers sancov
- llvm-jitlink)
+ llvm-readelf llvm-readobj llvm-size llvm-symbolizer compiler-rt-headers sancov)
if (WIN32)
list(APPEND SANITIZER_COMMON_LIT_TEST_DEPS KillTheDoctor)
endif()
diff --git a/compiler-rt/test/orc/CMakeLists.txt b/compiler-rt/test/orc/CMakeLists.txt
index e90fe466d130..36a746293fe1 100644
--- a/compiler-rt/test/orc/CMakeLists.txt
+++ b/compiler-rt/test/orc/CMakeLists.txt
@@ -1,7 +1,8 @@
set(ORC_LIT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
set(ORC_TESTSUITES)
-set(ORC_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS})
+set(ORC_TEST_DEPS)
+list(APPEND ORC_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS} llvm-jitlink)
set(ORC_TEST_ARCH ${ORC_SUPPORTED_ARCH})
if (COMPILER_RT_BUILD_ORC AND COMPILER_RT_HAS_ORC)
More information about the llvm-commits
mailing list