[Mlir-commits] [mlir] [mlir][build] Pass extra compiler/linker flags to `add_mlir_python_modules` (PR #204230)
Diego Caballero
llvmlistbot at llvm.org
Wed Jun 24 17:06:30 PDT 2026
================
@@ -420,6 +428,13 @@ endfunction()
# DAG of source modules is included.
# COMMON_CAPI_LINK_LIBS: List of dylibs (typically one) to make every
# extension depend on (see mlir_python_add_common_capi_library).
+#
+# The following variables can be set by superprojects to add compilation and
+# linking options to all the generated Python binding targets:
+# MLIR_BINDINGS_PYTHON_EXTRA_NANOBIND_COMPILE_OPTIONS
+# MLIR_BINDINGS_PYTHON_EXTRA_NANOBIND_LINK_LIBS
+# MLIR_BINDINGS_PYTHON_EXTRA_EXTENSION_COMPILE_OPTIONS
+# MLIR_BINDINGS_PYTHON_EXTRA_EXTENSION_LINK_LIBS
----------------
dcaballe wrote:
Thanks! Yeah, let me try that
https://github.com/llvm/llvm-project/pull/204230
More information about the Mlir-commits
mailing list