[Mlir-commits] [mlir] [MLIR][Python] Extend bindings for external projects without duplication (PR #173241)

Sylvain Noiry llvmlistbot at llvm.org
Tue Dec 23 09:17:03 PST 2025


ElectrikSpace wrote:

> And you're planning on doing this during build of the wheel? You realize that most times `pip wheel ...` builds in an isolated environment right? I.e., you have to pass `--no-build-isolation` to try to do what you want to do and that comes with its own quirks.

I have almost no experience in making wheels. I just want to allow people to easily install mlir and some external projects together for a specific use case, without the need to build llvm. It's absolutely not for production (+ it further depends on toolchains and drivers). So my goal is only to be able to mix mlir with external projects.

I thought I found a proper way to do it, but probably not. Maybe PRing (I try to avoid forgotten words) #108253 is the only proper thing to do, but a refactoring of the core Python files will probably be needed to remove any state.




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


More information about the Mlir-commits mailing list