[Mlir-commits] [mlir] c0aee32 - [mlir] Move SupportLSP to LINK_COMPONENTS
Nikita Popov
llvmlistbot at llvm.org
Tue Sep 9 06:21:11 PDT 2025
Author: Nikita Popov
Date: 2025-09-09T15:21:03+02:00
New Revision: c0aee322f7024250fd4a2c49f56534011178d07c
URL: https://github.com/llvm/llvm-project/commit/c0aee322f7024250fd4a2c49f56534011178d07c
DIFF: https://github.com/llvm/llvm-project/commit/c0aee322f7024250fd4a2c49f56534011178d07c.diff
LOG: [mlir] Move SupportLSP to LINK_COMPONENTS
Try to fix https://github.com/llvm/llvm-project/pull/155572 in
some build configurations.
Added:
Modified:
mlir/lib/Tools/mlir-lsp-server/CMakeLists.txt
mlir/lib/Tools/mlir-pdll-lsp-server/CMakeLists.txt
mlir/lib/Tools/tblgen-lsp-server/CMakeLists.txt
Removed:
################################################################################
diff --git a/mlir/lib/Tools/mlir-lsp-server/CMakeLists.txt b/mlir/lib/Tools/mlir-lsp-server/CMakeLists.txt
index db665dd31eaab..e2acba54e5624 100644
--- a/mlir/lib/Tools/mlir-lsp-server/CMakeLists.txt
+++ b/mlir/lib/Tools/mlir-lsp-server/CMakeLists.txt
@@ -7,11 +7,13 @@ add_mlir_library(MLIRLspServerLib
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Tools/mlir-lsp-server
+ LINK_COMPONENTS
+ SupportLSP
+
LINK_LIBS PUBLIC
MLIRBytecodeWriter
MLIRFunctionInterfaces
MLIRIR
MLIRLspServerSupportLib
MLIRParser
- LLVMSupportLSP
)
diff --git a/mlir/lib/Tools/mlir-pdll-lsp-server/CMakeLists.txt b/mlir/lib/Tools/mlir-pdll-lsp-server/CMakeLists.txt
index fc1f90b19dc4a..b41603fb67eb0 100644
--- a/mlir/lib/Tools/mlir-pdll-lsp-server/CMakeLists.txt
+++ b/mlir/lib/Tools/mlir-pdll-lsp-server/CMakeLists.txt
@@ -7,9 +7,11 @@ llvm_add_library(MLIRPdllLspServerLib
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Tools/mlir-pdll-lsp-server
+ LINK_COMPONENTS
+ SupportLSP
+
LINK_LIBS PUBLIC
MLIRPDLLCodeGen
MLIRPDLLParser
MLIRLspServerSupportLib
- LLVMSupportLSP
)
diff --git a/mlir/lib/Tools/tblgen-lsp-server/CMakeLists.txt b/mlir/lib/Tools/tblgen-lsp-server/CMakeLists.txt
index 67819247d72cb..f3432b218d65e 100644
--- a/mlir/lib/Tools/tblgen-lsp-server/CMakeLists.txt
+++ b/mlir/lib/Tools/tblgen-lsp-server/CMakeLists.txt
@@ -1,6 +1,7 @@
set(LLVM_LINK_COMPONENTS
Demangle
Support
+ SupportLSP
TableGen
)
@@ -17,5 +18,4 @@ llvm_add_library(TableGenLspServerLib
LINK_LIBS PUBLIC
MLIRLspServerSupportLib
MLIRSupport
- LLVMSupportLSP
)
More information about the Mlir-commits
mailing list