[llvm] [mlir] [MLIR][Python] reland (narrower) type stub generation (PR #157930)
    Nikita Popov via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Sep 29 05:53:55 PDT 2025
    
    
  
nikic wrote:
> If you build the Python bindings, you point the build (using Pyrhon_EXECUTABLE) to a venv yes. Not sure what's unergonomic about that?
I was going to say that adding mlir to the project list should work without having to perform any other arcane invocations, but apparently MLIR_ENABLE_BINDINGS_PYTHON is already disabled by default. This being a non-default configuration does make the requirement less bad than I initially thought.
But I feel like the fact that you have to add docs like https://mlir.llvm.org/docs/Bindings/Python/#recommended-development-practices indicates that something is going wrong here. Building LLVM should not require this kind of additional setup. I should not have to remember to activate a venv any time I work on LLVM.
https://github.com/llvm/llvm-project/pull/157930
    
    
More information about the llvm-commits
mailing list