devel/py-pyopencl 2026.1.4 FreeBSD
Python wrapper for OpenCL
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
539e0005a1- License
- MIT
- Categories
- devel, python
- Package size
- 580.0 KiB, 2871.8 KiB installed
Description
PyOpenCL gives you easy, Pythonic access to the OpenCL parallel computation API. What makes PyOpenCL special?
- Object cleanup tied to lifetime of objects. This idiom, often called RAII in C++, makes it much easier to write correct, leak- and crash-free code.
- Completeness. PyOpenCL puts the full power of OpenCL's API at your disposal, if you wish. Every obscure get_info() query and all CL calls are accessible.
- Automatic Error Checking. All errors are automatically translated into Python exceptions.
- Speed. PyOpenCL's base layer is written in C++, so all the niceties above are virtually free.
- Helpful Documentation.
- Liberal license. PyOpenCL is open-source under the MIT license and free for commercial, academic, and private use.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-pyopencl | 2026.1.4 |
| HardenedBSD | devel/py-pyopencl | 2026.1.4 |
| GhostBSD | devel/py-pyopencl | 2026.1.2 |
Install
Binary package:
pkg install py312-pyopencl
From the ports tree:
cd /usr/ports/devel/py-pyopencl/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-pyopencl>0:devel/py-pyopencl
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 | 2026.1.4 | 2026.1.4 | - | 2018.2_10 | 2026.1.4 |
| FreeBSD:14:quarterly | 2026.1.4 | 2026.1.4 | n/a | 2018.2_10 | 2026.1.4 |
| FreeBSD:15:latest | 2026.1.4 | 2026.1.4 | n/a | 2018.2_10 | 2018.2_10 |
| FreeBSD:15:quarterly | 2026.1.4 | 2026.1.4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2026.1.4 | 2026.1.4 | 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 4
${LOCALBASE}/include/CL/cl.h: devel/opencl${PYTHON_PKGNAMEPREFIX}nanobind>0: devel/py-nanobind${PYTHON_PKGNAMEPREFIX}numpy>0: math/py-numpy${PYTHON_PKGNAMEPREFIX}scikit-build-core>=0.9.3: devel/py-scikit-build-core
Library 1
libOpenCL.so: devel/ocl-icd
Runtime 4
${PYTHON_PKGNAMEPREFIX}numpy>0: math/py-numpy${PYTHON_PKGNAMEPREFIX}platformdirs>=2.2: devel/py-platformdirs${PYTHON_PKGNAMEPREFIX}pytools>=2025.1.6: devel/py-pytools${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6: devel/py-typing-extensions
The full lists below include those, and their dependencies in turn.
Build dependencies 40
- archivers/liblz4
- archivers/zstd
- devel/binutils
- devel/cmake-core
- devel/gettext-runtime
- devel/jsoncpp
- devel/libffi
- devel/libunistring
- devel/libuv
- devel/ocl-icd
- devel/opencl
- devel/py-build
- devel/py-installer
- devel/py-nanobind
- devel/py-packaging
- devel/py-pathspec
- devel/py-pyproject-hooks
- devel/py-scikit-build-core
- devel/readline
- dns/libidn2
- graphics/libglvnd
- lang/gcc14
- lang/python312
- lang/python315
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
- ports-mgmt/pkg
- print/indexinfo
- security/rhash
- textproc/expat2
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libxcb
- x11/xorgproto
Run dependencies 30
- archivers/liblz4
- archivers/zstd
- devel/binutils
- devel/gettext-runtime
- devel/libffi
- devel/ocl-icd
- devel/opencl
- devel/py-platformdirs
- devel/py-pytools
- devel/py-typing-extensions
- devel/readline
- graphics/libglvnd
- lang/gcc14
- lang/python312
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
- print/indexinfo
- security/c-siphash
- security/py-siphash24
- textproc/expat2
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libxcb
- x11/xorgproto
Required by 1
Configuration
No options to configure.
- USES
- cmake:indirect compiler:c++17-lang gl localbase python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pyopencl-2026.1.4.tar.gz | 446961 | 6cb9544a004609061e86873fe36500da6c2101042e9c7b9c3b804a29a12b98bf |
Master sites 1
- PYPI
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
539e0005a1 |
Yuri Victorovich | devel/py-pyopencl: update 2026.1.2 → 2026.1.4 PR: 298721
Approved by: Max Brazhnikov <[email protected]> (on behalf of python@) |