[llvm] [mlir] [LLVM][MLIR] Move LSP server support library from MLIR into LLVM (PR #155572)

via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 27 05:02:46 PDT 2025


Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/155572 at github.com>


================
@@ -0,0 +1,17 @@
+add_llvm_library(LLVMSupportLSP STATIC
+  Protocol.cpp
+  Transport.cpp
+  Logging.cpp
+)
+
+target_include_directories(LLVMSupportLSP
+  PUBLIC
+    $<BUILD_INTERFACE:${LLVM_MAIN_INCLUDE_DIR}>
+    $<BUILD_INTERFACE:${LLVM_LIBRARY_DIR}/Support/LSP>
+    $<INSTALL_INTERFACE:include>   # for installation
+)
+
+target_link_libraries(LLVMSupportLSP
+  PUBLIC
+    LLVMSupport
+)
----------------
Bertik23 wrote:

I hope I fixed the issues in the new commit. Now the build process behaves much more how I wanted.

https://github.com/llvm/llvm-project/pull/155572


More information about the llvm-commits mailing list