#372 Package llvmlite: A lightweight LLVM python binding for writing JIT compilers
Closed: Fixed by ankursinha. Opened by ankursinha.

New software: llvmlite

Short description: A lightweight LLVM python binding for writing JIT compilers

Upstream URL: https://github.com/numba/llvmlite

License: BSD

Domain: Utilities

Additional information

Cannot currently be packaged, does not support llvm10 which is what Fedora 32+ carry.


Metadata Update from @ankursinha:
- Issue marked as blocking: #371

Metadata Update from @ankursinha:
- Assignee reset

Not yet ready for llvm10: https://github.com/numba/llvmlite/issues/583

Upstream says that it’s necessary to build a patched copy of LLVM especially for llvmlite and, typically, link it statically (https://llvmlite.readthedocs.io/en/latest/faqs.html#faq-why-static).

Given that a patched LLVM is required, it might be necessary to build and use upstream’s preferred version anyway, following https://docs.fedoraproject.org/en-US/packaging-guidelines/#bundling and https://docs.fedoraproject.org/en-US/packaging-guidelines/#_statically_linking_executables.

Hrm, but luckily we carry the different llvm versions in Fedora as compat packages. The current llvmlite version (0.37.0) requires llvm11. I'm just updating the spec---it builds fine, just working on the tests now.

These are the patches they speak about:

http://llvmlite.pydata.org/en/latest/admin-guide/install.html#compiling-llvm

Perhaps we could speak to the llvm11 maintainer to see if they'd carry these, otherwise we can bundle it too in the worst case scenario.

WIP spec here by the way: https://pagure.io/python-llvmlite

It sure would be nice not to have to bundle! There’s enough to keep track of in this package without re-inventing the LLVM-building wheel.

+1

All tests pass too, so I've submitted it for review now. We can discuss what llvm to use there and proceed accordingly:

https://bugzilla.redhat.com/show_bug.cgi?id=2003287

Metadata Update from @ankursinha:
- Issue assigned to ankursinha

Built, updates pushed, docs updated.

Metadata Update from @ankursinha:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

This ticket has been migrated to the forgejo instance. Please find the new ticket here
https://forge.fedoraproject.org/neuro/NeuroFedora//issues/372

Metadata