BSD Ports

devel/py-llvmlite 0.47.0nb1 NetBSD

Lightweight LLVM Python binding for writing JIT compilers

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
a4856445ee
License
2-clause-bsd
Categories
devel, python
Package size
35843.4 KiB, 163227.4 KiB installed

Description

llvmlite provides a Python binding to LLVM for use in Numba.

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

SystemPortVersion
NetBSDdevel/py-llvmlite0.47.0nb1
FreeBSDdevel/py-llvmlite0.50.0
OpenBSDdevel/py-llvmlite0.48.0rc1
DragonFlydevel/py-llvmlite0.44.0_1
MidnightBSDdevel/py-llvmlite0.47.0_1
HardenedBSDdevel/py-llvmlite0.49.0

Install

Binary package:

pkgin install py311-llvmlite

From pkgsrc:

cd /usr/pkgsrc/devel/py-llvmlite && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.47.0nb1
NetBSD 10.1 aarch64-
SmartOS / illumos x86_64-
macOS 15 arm640.50.0nb1

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none
Flavors
py312-llvmlite-0.47.0nb1, py313-llvmlite-0.47.0nb1, py314-llvmlite-0.47.0nb1

Commit history 2

DateCommitCreditsLog message
a4856445ee wiz *: recursive bump for llvm 22
82949cc729 adam py-llvmlite: updated to 0.50.0
0.50.0 Highlights of this release include: Official support for Python 3.15 and 3.15t wheels. Expanded win-arm64 Python support to 3.12–3.14. All Linux wheels (x86_64 and aarch64) are now tagged to be compatible with GLIBC >= 2.27. LLVM 22 AArch64 Oryon scheduling-model patch in llvmdev recipes.