MLIR provides Python bindings, which can be built by adding `-DMLIR_ENABLE_BINDINGS_PYTHON=ON` option for CMake. As of now, those bindings are not packaged and one would need to compile MLIR with bindings. Reproducible: Always Steps to Reproduce: 1. Install mlir-devel 2. Open Python 3. import mlir Actual Results: mlir module not found Expected Results: mlir bindings are imported
I prepared an initial draft for this here: https://src.fedoraproject.org/rpms/mlir/pull-request/18 Feedback is welcome. A scratch build is available at: https://koji.fedoraproject.org/koji/taskinfo?taskID=103364590 Note: it requires https://bodhi.fedoraproject.org/updates/FEDORA-2023-afd7a38128 There are still tests failing on s390x.