llvmlite 0.47.0
devel/py-llvmlite
Lightweight LLVM python binding for writing JIT compilers
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.
Dependencies
- build devel/binutils
- build devel/cmake-core
- build devel/gmake
- build devel/py-build
- build devel/py-installer
- build devel/py-setuptools
- build devel/py-wheel
- build lang/gcc14
- build lang/python311
- lib devel/llvm20
- run lang/gcc14
- run lang/python311
Commit History
may be incomplete — full history at freebsd-ports on GitHub
Loading commit history — this may take up to a minute on first view. Reload the page in a moment.