[Mlir-commits] [mlir] [mlir] Link libraries that aren't included in libMLIR to libMLIR (PR #123477)
Michał Górny
llvmlistbot at llvm.org
Sun Jan 19 20:36:02 PST 2025
================
@@ -21,12 +21,18 @@ add_mlir_library(MLIRTestAnalysis
EXCLUDE_FROM_LIBMLIR
LINK_LIBS PUBLIC
+ MLIRTestDialect
+ )
+
+# Since this library is excluded from libMLIR, link it to the dylib
+# to ensure that it can be used in flang without implicitly pulling in
+# static libraries.
----------------
mgorny wrote:
Removed them and added a short note to `EXCLUDE_FROM_LIBMLIR` doc.
https://github.com/llvm/llvm-project/pull/123477
More information about the Mlir-commits
mailing list