[mlir][Tablegen-LSP] Don't link with llvm dylib
authorDavid Spickett <david.spickett@linaro.org>
Tue, 17 May 2022 11:00:34 +0000 (11:00 +0000)
committerDavid Spickett <david.spickett@linaro.org>
Tue, 17 May 2022 11:03:01 +0000 (11:03 +0000)
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

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

index cb1215d..80fc1ff 100644 (file)
@@ -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