[Mlir-commits] [mlir] [mlir][build] Pass extra compiler/linker flags to `add_mlir_python_modules` (PR #204230)
Diego Caballero
llvmlistbot at llvm.org
Mon Jun 29 09:53:43 PDT 2026
================
@@ -420,11 +428,19 @@ 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).
+# MLIR_BINDINGS_PYTHON_EXTRA_NANOBIND_COMPILE_OPTIONS: Extra compile options
+# to add to the shared nanobind runtime library.
+# MLIR_BINDINGS_PYTHON_EXTRA_NANOBIND_LINK_LIBS: Extra libraries to link into
+# the shared nanobind runtime library.
+# MLIR_BINDINGS_PYTHON_EXTRA_EXTENSION_COMPILE_OPTIONS: Extra compile options
+# to add to every generated extension DSO.
+# MLIR_BINDINGS_PYTHON_EXTRA_EXTENSION_LINK_LIBS: Extra libraries to link into
+# every generated extension DSO.
----------------
dcaballe wrote:
Yes, call site for now is more than enough, thanks!
https://github.com/llvm/llvm-project/pull/204230
More information about the Mlir-commits
mailing list