[Mlir-commits] [mlir] [mlir][Python] create MLIRPythonSupport (PR #171775)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Fri Dec 26 08:28:13 PST 2025


================
@@ -228,22 +228,27 @@ endfunction()
 #     aggregate dylib that is linked against.
 function(declare_mlir_python_extension name)
   cmake_parse_arguments(ARG
-    ""
-    "ROOT_DIR;MODULE_NAME;ADD_TO_PARENT"
+    "SUPPORT_LIB"
----------------
ftynse wrote:

I don't feel strongly about this but should we hide this option somehow, e.g., by having it in some `_private_declare_upstream_only_python_extension`? Or is there a case where downstreams can inject support libs? If so, it would make sense to document.

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


More information about the Mlir-commits mailing list