[Mlir-commits] [llvm] [mlir] [MLIR][Python] enable type stub auto-generation (PR #155741)

Maksim Levental llvmlistbot at llvm.org
Tue Sep 9 08:10:51 PDT 2025


makslevental wrote:

> Can you look into silencing all this?

Yes I can add dep files like we do for the generated builder sources.

> Another larger issue here: this seems to generate code in the **source** directory, which we shouldn't do either, the source directory should stay pristine in a build.

Many people rely/relied on these type stubs as de facto docs for the bindings - that's why this choice was made.

> Finally, I'm not sure if my setup is right but this also seems to break the standalone example for me?

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

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


More information about the Mlir-commits mailing list