[Mlir-commits] [mlir] [mlir] Link libraries that aren't included in libMLIR to libMLIR (PR #123477)
Nikita Popov
llvmlistbot at llvm.org
Sun Jan 19 12:18:25 PST 2025
=?utf-8?q?Michał_Górny?= <mgorny at gentoo.org>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/123477 at github.com>
================
@@ -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.
----------------
nikic wrote:
Don't think we need this comment (or at least it's weird to have it in some places but not others).
https://github.com/llvm/llvm-project/pull/123477
More information about the Mlir-commits
mailing list