[Mlir-commits] [mlir] 9e469ce - [mlir][Tablegen-LSP] Don't link with llvm dylib

David Spickett llvmlistbot at llvm.org
Tue May 17 04:10:22 PDT 2022


Author: David Spickett
Date: 2022-05-17T11:03:01Z
New Revision: 9e469ced42cd9335baffd906bed17fd81ce4e6e8

URL: https://github.com/llvm/llvm-project/commit/9e469ced42cd9335baffd906bed17fd81ce4e6e8
DIFF: https://github.com/llvm/llvm-project/commit/9e469ced42cd9335baffd906bed17fd81ce4e6e8.diff

LOG: [mlir][Tablegen-LSP] Don't link with llvm dylib

This updates 5de12bb703c5104b3fd64ee51c6900d6171d826a
to not link with the dylib since that does not include
the tablegen library.

Should fix flang dylib build failures:
https://lab.llvm.org/buildbot/#/builders/177/builds/5120

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Tools/tblgen-lsp-server/CMakeLists.txt b/mlir/lib/Tools/tblgen-lsp-server/CMakeLists.txt
index cb1215d1e94a..80fc1ffe4029 100644
--- a/mlir/lib/Tools/tblgen-lsp-server/CMakeLists.txt
+++ b/mlir/lib/Tools/tblgen-lsp-server/CMakeLists.txt
@@ -12,6 +12,8 @@ llvm_add_library(TableGenLspServerLib
   ADDITIONAL_HEADER_DIRS
   ${MLIR_MAIN_INCLUDE_DIR}/mlir/Tools/tblgen-lsp-server
 
+  DISABLE_LLVM_LINK_LLVM_DYLIB
+
   LINK_LIBS PUBLIC
   MLIRLspServerSupportLib
   MLIRSupport


        


More information about the Mlir-commits mailing list