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.
Any chance for bindings in upcoming mlir-17 fc{40,39} ?
(In reply to Balint Cristian from comment #2) > Any chance for bindings in upcoming mlir-17 fc{40,39} ? As mentioned in comment #1, I have prepared an initial draft. However, there is still one test failing on s390x. If this last remaining issue is fixed on time, then I think we can distribute it on Fedora >= 39. Suggestions on how to deal with this issue is appreciated.
FEDORA-2023-cf7032ab53 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-cf7032ab53
FEDORA-2023-86ba35c058 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-86ba35c058
This is now being tested for both Rawhide and Fedora 39. Please give your feedback in the Bodhi updates. Fedora 39: https://bodhi.fedoraproject.org/updates/FEDORA-2023-86ba35c058 Rawhide: https://bodhi.fedoraproject.org/updates/FEDORA-2023-cf7032ab53
FEDORA-2023-cf7032ab53 has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-86ba35c058 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-86ba35c058` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-86ba35c058 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-86ba35c058 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-a9ef102a9b (mlir17-17.0.6-4.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-a9ef102a9b
FEDORA-2024-a9ef102a9b (mlir17-17.0.6-4.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.