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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-llvmlite | 0.50.0 |
| OpenBSD | devel/py-llvmlite | 0.48.0rc1 |
| NetBSD | devel/py-llvmlite | 0.47.0nb1 |
| DragonFly | devel/py-llvmlite | 0.44.0_1 |
| MidnightBSD | devel/py-llvmlite | 0.47.0_1 |
| HardenedBSD | devel/py-llvmlite | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.50.0 | 0.50.0 | - | 0.44.0_1 | 0.50.0 |
| FreeBSD:14:quarterly | 0.49.0 | 0.50.0 | n/a | 0.44.0_1 | 0.50.0 |
| FreeBSD:15:latest | 0.50.0 | 0.50.0 | n/a | 0.44.0_1 | 0.44.0_1 |
| FreeBSD:15:quarterly | 0.50.0 | 0.50.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.49.0 | 0.50.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
gmake: devel/gmake${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
The full lists below include those, and their dependencies in turn.
Build dependencies 30
- archivers/liblz4
- archivers/zstd
- devel/binutils
- devel/cmake-core
- devel/gettext-runtime
- devel/gmake
- devel/jsoncpp
- devel/libffi
- devel/libunistring
- devel/libuv
- devel/llvm22
- devel/py-build
- devel/py-installer
- devel/py-packaging
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-wheel
- devel/readline
- dns/libidn2
- lang/gcc14
- lang/python312
- lang/python315
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- ports-mgmt/pkg
- print/indexinfo
- security/rhash
- textproc/expat2
Run dependencies 15
Required by 76
- audio/py-librosa
- audio/py-resampy
- biology/py-loompy
- deskutils/py-qmd
- devel/py-numba
- devel/py-sparse
- finance/py-quantecon
- graphics/py-agx-emulsion
- graphics/py-geosnap
- graphics/py-giddy
- graphics/py-olmocr
- math/mathicsscript
- math/py-arybo
- math/py-dcor
- math/py-fdasrsf
- math/py-fenics-basix
- math/py-fenics-ffcx
- math/py-mathics
- math/py-mnnpy
- math/py-numba-stats
- math/py-pynndescent
- math/py-pytensor
- math/py-rvlib
- math/py-scikit-fda
- math/py-splot
- math/py-ssm
- math/py-umap-learn
- misc/colibri
- misc/comfyui
- misc/openclaw
- misc/py-compressed-tensors
- misc/py-eemeter
- misc/py-kokoro
- misc/py-llama-index-embeddings-huggingface
- misc/py-openai-whisper
- misc/py-optimum
- misc/py-peft
- misc/py-sentence-transformers
- misc/py-shap2
- misc/py-transformers
- misc/py-vllm
- misc/py-xgrammar
- science/py-hiPhive
- science/py-icet
- science/py-pysal
- science/py-segregation
- science/py-thewalrus
- textproc/py-affine-gaps
- textproc/py-docling
- textproc/py-docling-agent
- textproc/py-docling-analysis-framework
- textproc/py-docling-core
- textproc/py-docling-cvat-tools
- textproc/py-docling-demo
- textproc/py-docling-enhanced
- textproc/py-docling-enhanced-onnx
- textproc/py-docling-eval
- textproc/py-docling-glm-ocr
- textproc/py-docling-google-ocr
- textproc/py-docling-graph
- textproc/py-docling-haystack
- textproc/py-docling-hierarchical-pdf
- textproc/py-docling-ibm-models
- textproc/py-docling-jobkit
- textproc/py-docling-langchain
- textproc/py-docling-litellm-picture-description
- textproc/py-docling-mcp
- textproc/py-docling-ocr
- textproc/py-docling-ocr-mistral
- textproc/py-docling-ocr-onnxtr
- textproc/py-docling-parse
- textproc/py-docling-sdg
- textproc/py-docling-serve
- textproc/py-docling-slim
- textproc/py-extended-docling
- textproc/py-langchain-docling
Configuration
No options to configure.
- USES
- cmake:indirect fortran llvm:22,lib python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| llvmlite-0.50.0.tar.gz | 194522 | f2a2cd6ec9ffcc1b7147dea0d7a49efebf17a2b434e0c2844fe175999d571eb4 |
Master sites 1
- PYPI