[Mlir-commits] [mlir] [mlir][CMake] Modify the behavior of `add_mlir_aggregate ` and add `mlir_c_target_link_libraries`. (PR #141435)

Fabian Mora llvmlistbot at llvm.org
Mon May 26 09:27:14 PDT 2025


================
@@ -10,7 +10,5 @@ add_mlir_upstream_c_api_library(MLIRCAPIExecutionEngine
   ExecutionEngine.cpp
 
   LINK_LIBS PUBLIC
-  MLIRBuiltinToLLVMIRTranslation
   MLIRExecutionEngine
-  MLIRLLVMToLLVMIRTranslation
----------------
fabianmcg wrote:

They are transitive dependencies: https://github.com/llvm/llvm-project/blob/main/mlir/lib/ExecutionEngine/CMakeLists.txt#L96-L103

and keeping them polluted the final lib.

https://github.com/llvm/llvm-project/pull/141435


More information about the Mlir-commits mailing list