[compiler-rt] 1380eae - [ORC-RT] Add target dependencies to ORC-RT regression tests.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 28 22:16:25 PDT 2021
Author: Lang Hames
Date: 2021-09-28T22:08:47-07:00
New Revision: 1380eae590202639d00d459bcacee9817162de60
URL: https://github.com/llvm/llvm-project/commit/1380eae590202639d00d459bcacee9817162de60
DIFF: https://github.com/llvm/llvm-project/commit/1380eae590202639d00d459bcacee9817162de60.diff
LOG: [ORC-RT] Add target dependencies to ORC-RT regression tests.
check-orc-rt had no cmake target dependency on orc or llvm-jitlink, which
could lead to regression test failures in compiler-rt. This patch should
fix the issue.
Patch by Jack Andersen (jackoalan at gmail.com). Thanks Jack!
Reviewed By: lhames
Differential Revision: https://reviews.llvm.org/D110659
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 4fba5163d7418..5c2b634e11801 100644
--- a/compiler-rt/test/CMakeLists.txt
+++ b/compiler-rt/test/CMakeLists.txt
@@ -32,7 +32,8 @@ 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-readelf llvm-readobj llvm-size llvm-symbolizer compiler-rt-headers sancov
+ llvm-jitlink)
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 f4aee9d7c9842..e90fe466d130c 100644
--- a/compiler-rt/test/orc/CMakeLists.txt
+++ b/compiler-rt/test/orc/CMakeLists.txt
@@ -5,6 +5,7 @@ set(ORC_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS})
set(ORC_TEST_ARCH ${ORC_SUPPORTED_ARCH})
if (COMPILER_RT_BUILD_ORC AND COMPILER_RT_HAS_ORC)
+ list(APPEND ORC_TEST_DEPS orc)
foreach(arch ${ORC_TEST_ARCH})
set(ORC_TEST_TARGET_ARCH ${arch})
string(TOLOWER "-${arch}-${OS_NAME}" ORC_TEST_CONFIG_SUFFIX)
More information about the llvm-commits
mailing list