[clang-tools-extra] Attempt to fix issue 96247 (PR #96856)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 26 23:28:15 PDT 2024


https://github.com/trcrsired updated https://github.com/llvm/llvm-project/pull/96856

>From e824af82ad45b0e1392173d0f0f4f3463413d038 Mon Sep 17 00:00:00 2001
From: cqwrteur <100043421+trcrsired at users.noreply.github.com>
Date: Thu, 27 Jun 2024 02:10:40 -0400
Subject: [PATCH] Attempt to fix issue 96247

https://github.com/llvm/llvm-project/issues/96247

These libraries are not linked for windows gnu targets since the libraries are not linked. I need to find out what's going on here. But first, I will just run CI to see whether anything breaks. I guess this CMakeLists.txt file is just wrong.
---
 clang-tools-extra/test/CMakeLists.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/clang-tools-extra/test/CMakeLists.txt b/clang-tools-extra/test/CMakeLists.txt
index 0953ff2531e1a..763ce8f967852 100644
--- a/clang-tools-extra/test/CMakeLists.txt
+++ b/clang-tools-extra/test/CMakeLists.txt
@@ -70,6 +70,12 @@ endforeach()
 if (NOT WIN32 OR NOT LLVM_LINK_LLVM_DYLIB)
   llvm_add_library(
       CTTestTidyModule
+      LINK_LIBS
+      clangAST
+      clangASTMatchers
+      clangTooling
+      clangBasic
+      clangTidy
       MODULE clang-tidy/CTTestTidyModule.cpp
       PLUGIN_TOOL clang-tidy)
 endif()



More information about the cfe-commits mailing list