From: David Spickett Date: Tue, 17 May 2022 11:00:34 +0000 (+0000) Subject: [mlir][Tablegen-LSP] Don't link with llvm dylib X-Git-Tag: upstream/15.0.7~7513 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e469ced42cd9335baffd906bed17fd81ce4e6e8;p=platform%2Fupstream%2Fllvm.git [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 --- diff --git a/mlir/lib/Tools/tblgen-lsp-server/CMakeLists.txt b/mlir/lib/Tools/tblgen-lsp-server/CMakeLists.txt index cb1215d..80fc1ff 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