llvm-project
8f6866c9 - [MLIR][Python] Clean remaining LLVM dependencies in MLIR-PY bindings (#181779)

Commit
72 days ago
[MLIR][Python] Clean remaining LLVM dependencies in MLIR-PY bindings (#181779) This PR fixed [issues](https://github.com/iree-org/iree/actions/runs/21956878131/job/63423389868#step:7:211) caused by dropping `LLVMSupport` in PR #180986, dropped the remaining direct llvm dependencies from mlir-python binding files. Previously `LLVMSupport` was dropped while some uncleaned `mlir/CAPI/*` sources were still being pulled into mlir-py, and those files still directly depended on LLVM headers. The issue was masked via a global `include_directories(${LLVM_INCLUDE_DIRS})` in `mlir/CMakeLists.txt`, out-of-tree builds (e.g., IREE) that define Python module targets outside the mlir/ directory tree would fail with "no such llvm file" errors.
Author
Parents
Loading