Skip to content

Commit c0aee32

Browse files
committed
[mlir] Move SupportLSP to LINK_COMPONENTS
Try to fix llvm/llvm-project#155572 in some build configurations.
1 parent cd4c82c commit c0aee32

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

mlir/lib/Tools/mlir-lsp-server/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ add_mlir_library(MLIRLspServerLib
77
ADDITIONAL_HEADER_DIRS
88
${MLIR_MAIN_INCLUDE_DIR}/mlir/Tools/mlir-lsp-server
99

10+
LINK_COMPONENTS
11+
SupportLSP
12+
1013
LINK_LIBS PUBLIC
1114
MLIRBytecodeWriter
1215
MLIRFunctionInterfaces
1316
MLIRIR
1417
MLIRLspServerSupportLib
1518
MLIRParser
16-
LLVMSupportLSP
1719
)

mlir/lib/Tools/mlir-pdll-lsp-server/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ llvm_add_library(MLIRPdllLspServerLib
77
ADDITIONAL_HEADER_DIRS
88
${MLIR_MAIN_INCLUDE_DIR}/mlir/Tools/mlir-pdll-lsp-server
99

10+
LINK_COMPONENTS
11+
SupportLSP
12+
1013
LINK_LIBS PUBLIC
1114
MLIRPDLLCodeGen
1215
MLIRPDLLParser
1316
MLIRLspServerSupportLib
14-
LLVMSupportLSP
1517
)

mlir/lib/Tools/tblgen-lsp-server/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
set(LLVM_LINK_COMPONENTS
22
Demangle
33
Support
4+
SupportLSP
45
TableGen
56
)
67

@@ -17,5 +18,4 @@ llvm_add_library(TableGenLspServerLib
1718
LINK_LIBS PUBLIC
1819
MLIRLspServerSupportLib
1920
MLIRSupport
20-
LLVMSupportLSP
2121
)

0 commit comments

Comments
 (0)