./devel/py-llvmlite, Lightweight LLVM Python binding for writing JIT compilers

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2018Q3, Version: 0.24.0, Package name: py27-llvmlite-0.24.0, Maintainer: pkgsrc-users

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.


Required to run:
[lang/llvm] [lang/python27] [devel/py-setuptools] [devel/py-enum34]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: a97f65637575ed9b6963031ed384031a15191d57
RMD160: d28d99da1e8b3a1f26dc7fd872568b88350e90ed
Filesize: 98.47 KB

Version history: (Expand)