[Mlir-commits] [mlir] Reland "[MLIR][Python] add Python wheel build demo/test" (#160481) (PR #160488)

Maksim Levental llvmlistbot at llvm.org
Tue Sep 30 12:36:05 PDT 2025


makslevental wrote:

> I have some errors somehow with the `mlir/test/Examples/standalone/test.wheel.toy` test right now, here is a sample of the output:
> 
> ```
> # |   -- Generating done (0.0s)
> # |   CMake Warning:
> # |     Manually-specified variables were not used by the project:
> # | 
> # |       MLIR_BINDINGS_PYTHON_INSTALL_PREFIX
> # |       MLIR_PYTHON_PACKAGE_PREFIX
> # | 
> # | 
> # |   -- Build files have been written to: /tmp/lit-tmp-4u27dlpw/tmpfnnlna_l/build
> # |   *** Building project with Ninja...
> # |   ninja: error: unknown target 'StandalonePythonModules'
> # | 
> # |   *** CMake build failed
> # |   error: subprocess-exited-with-error
> # |   
> # |   × Building wheel for standalone-python-bindings (pyproject.toml) did not run successfully.
> # |   │ exit code: 1
> # |   ╰─> See above for output.
> # 
> ```
> 
> Does it ring a bell?

I haven't seen this but if I get it it's because you don't have MLIR_ENABLE_BINDINGS_PYTHON=ON and because I must've forgotten to gate that test. Will double check.

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


More information about the Mlir-commits mailing list