#372 Package llvmlite: A lightweight LLVM python binding for writing JIT compilers
Closed: Fixed 2 years ago by ankursinha. Opened 3 years ago 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

3 years ago

Metadata Update from @ankursinha:
- Assignee reset

3 years ago

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.

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

2 years ago

Built, updates pushed, docs updated.

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

2 years ago

Login to comment on this ticket.

Metadata
Boards 1
Software packaging Status: Done