BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-llvmlite0.47.0_1 behind since 2026-07-08no data-[email protected]2026-07-02
FreeBSDdevel/py-llvmlite0.50.0 newestnone known-[email protected]2026-10-09
OpenBSDdevel/py-llvmlite0.48.0rc1 behind since 2026-07-08no data-Aisha Tammy <[email protected]>-
NetBSDdevel/py-llvmlite0.47.0nb1 behind since 2026-07-08none known-[email protected]2026-10-11
DragonFlydevel/py-llvmlite0.44.0_1 behind since 2026-07-08none known-[email protected]-
HardenedBSDdevel/py-llvmlite0.49.0 behind since 2026-10-09no data-[email protected]-

Compare across BSDs

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

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
FileSizeSHA256
llvmlite-0.47.0.tar.gz19361462031ce968ec74e95092184d4b0e857e444f8fdff0b8f9213707699570c33ccc
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog 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]>