Bug 2221241 - Python bindings of MLIR are not packaged
Summary: Python bindings of MLIR are not packaged
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: mlir
Version: 38
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tulio Magno Quites Machado Filho
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-07 15:51 UTC by Andrea
Modified: 2023-07-14 21:34 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-889 0 None None None 2023-07-10 15:33:07 UTC
Red Hat Issue Tracker FC-890 0 None None None 2023-07-10 15:33:05 UTC

Description Andrea 2023-07-07 15:51:34 UTC
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

Comment 1 Tulio Magno Quites Machado Filho 2023-07-14 21:34:42 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.