[Mlir-commits] [mlir] [MLIR][Python][NOMERGE] demo building bindings with no CAPI aggregate and using mlir aggregate (PR #161782)
    Maksim Levental 
    llvmlistbot at llvm.org
       
    Thu Oct  2 23:19:11 PDT 2025
    
    
  
================
@@ -10,9 +10,5 @@ add_mlir_dialect_library(MLIRStandalone
         DEPENDS
         MLIRStandaloneOpsIncGen
         MLIRStandalonePassesIncGen
-
-        LINK_LIBS PUBLIC
-        MLIRIR
-        MLIRInferTypeOpInterface
-        MLIRFuncDialect
         )
+target_link_options(obj.MLIRStandalone PUBLIC --unresolved-symbols=ignore-all)
----------------
makslevental wrote:
we need to build without failing to link and hope the symbols are found at runtime...
https://github.com/llvm/llvm-project/pull/161782
    
    
More information about the Mlir-commits
mailing list