[clang] ffd31c5 - Fix build after #84460: link LLVMTestingSupport explicitly in clang unittest
Stefan Gränitz via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 12 06:49:54 PDT 2024
Author: Stefan Gränitz
Date: 2024-03-12T14:47:23+01:00
New Revision: ffd31c5e92da9da37cf57ca653e22db38b5af9a3
URL: https://github.com/llvm/llvm-project/commit/ffd31c5e92da9da37cf57ca653e22db38b5af9a3
DIFF: https://github.com/llvm/llvm-project/commit/ffd31c5e92da9da37cf57ca653e22db38b5af9a3.diff
LOG: Fix build after #84460: link LLVMTestingSupport explicitly in clang unittest
This is supposed to fix the DYLIB-enabled build, i.e. https://lab.llvm.org/buildbot/#/builders/196
Added:
Modified:
clang/unittests/Interpreter/CMakeLists.txt
Removed:
################################################################################
diff --git a/clang/unittests/Interpreter/CMakeLists.txt b/clang/unittests/Interpreter/CMakeLists.txt
index 498070b43d922e..b56e1e21015db9 100644
--- a/clang/unittests/Interpreter/CMakeLists.txt
+++ b/clang/unittests/Interpreter/CMakeLists.txt
@@ -4,7 +4,6 @@ set(LLVM_LINK_COMPONENTS
OrcJIT
Support
TargetParser
- TestingSupport
)
add_clang_unittest(ClangReplInterpreterTests
@@ -20,6 +19,7 @@ target_link_libraries(ClangReplInterpreterTests PUBLIC
clangInterpreter
clangFrontend
clangSema
+ LLVMTestingSupport
)
# Exceptions on Windows are not yet supported.
More information about the cfe-commits
mailing list