Bug 2221241

Summary: Python bindings of MLIR are not packaged
Product: [Fedora] Fedora Reporter: Andrea <thegoldgoat>
Component: mlirAssignee: Tulio Magno Quites Machado Filho <tuliom>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: kkleine, npopov, serge.guelton, tstellar, tuliom
Target Milestone: ---Keywords: RFE
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.