devel/py-llvmlite 0.47.0_1 MidnightBSD
Lightweight LLVM python binding for writing JIT compilers
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
c475656795- License
- bsd3
- Categories
- devel, python
Description
A lightweight LLVM python binding for writing JIT compilers
The old llvmpy binding exposes a lot of LLVM APIs but the mapping of C++-style memory management to Python is error prone. Numba and many JIT compilers do not need a full LLVM API. Only the IR builder, optimizer, and JIT compiler APIs are necessary.
llvmlite is a project originally tailored for Numba's needs, using the following approach:
- A small C wrapper around the parts of the LLVM C++ API we need that are not already exposed by the LLVM C API.
- A ctypes Python wrapper around the C API.
- A pure Python implementation of the subset of the LLVM IR builder that we need for Numba.
In the other systems
The newest version among them is 0.50.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/py-llvmlite | 0.47.0_1 behind since 2026-07-08 | no data | - | [email protected] | 2026-07-02 |
| FreeBSD | devel/py-llvmlite | 0.50.0 newest | none known | - | [email protected] | 2026-10-09 |
| OpenBSD | devel/py-llvmlite | 0.48.0rc1 behind since 2026-07-08 | no data | - | Aisha Tammy <[email protected]> | - |
| NetBSD | devel/py-llvmlite | 0.47.0nb1 behind since 2026-07-08 | none known | - | [email protected] | 2026-10-11 |
| DragonFly | devel/py-llvmlite | 0.44.0_1 behind since 2026-07-08 | none known | - | [email protected] | - |
| HardenedBSD | devel/py-llvmlite | 0.49.0 behind since 2026-10-09 | no data | - | [email protected] | - |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}llvmlite
From mports:
cd /usr/mports/devel/py-llvmlite && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}llvmlite>0:devel/py-llvmlite
Dependency graph
Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 3
gmake: devel/gmake${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Build dependencies 3
Required by 1
Configuration
No options to configure.
- USES
- cmake:indirect fortran llvm:20,lib python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| llvmlite-0.47.0.tar.gz | 193614 | 62031ce968ec74e95092184d4b0e857e444f8fdff0b8f9213707699570c33ccc |
Master sites 1
- PYPI
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
c475656795 |
Lucas Holt | Fix test phase handling for run 641 failures Skip Magus test phase for ports that declare tests disabled, teach muon-backed meson ports to use muon test, and make Python test helpers load fake-installed modules. Also fix Python 3.12 default transition issues in py-installer and several custom port test targets.
AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |