BSD Ports

devel/py-llvmlite 0.50.0 FreeBSD

Lightweight LLVM python binding for writing JIT compilers

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
ba5beef4d7
License
BSD3CLAUSE
Categories
devel, python
Package size
415.3 KiB, 2653.4 KiB installed

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

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

Install

Binary package:

pkg install py312-llvmlite

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-llvmlite>0:devel/py-llvmlite

Packages

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.50.00.50.0-0.44.0_10.50.0
FreeBSD:14:quarterly0.49.00.50.0n/a0.44.0_10.50.0
FreeBSD:15:latest0.50.00.50.0n/a0.44.0_10.44.0_1
FreeBSD:15:quarterly0.50.00.50.0n/an/an/a
FreeBSD:16:latest0.49.00.50.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

The full lists below include those, and their dependencies in turn.

Build dependencies 30
Run dependencies 15
Required by 76

Configuration

No options to configure.

USES
cmake:indirect fortran llvm:22,lib python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
llvmlite-0.50.0.tar.gz194522f2a2cd6ec9ffcc1b7147dea0d7a49efebf17a2b434e0c2844fe175999d571eb4
Master sites 1
  • PYPI

Commit history 3

DateCommitCreditsLog message
ba5beef4d7 Max Brazhnikov devel/py-llvmlite: Update to 0.50.0
Release notes: https://llvmlite.readthedocs.io/en/v0.50.0/release-notes.html
45ad2ecac6 Max Brazhnikov devel/py-llvmlite: Update to 0.49.0
1b9c3c437f Max Brazhnikov devel/py-llvmlite: Update to 0.48.0
This release requires LLVM 22.x.x