New package: python3-pyopencl-2020.1
This commit is contained in:
parent
119bf5eb6e
commit
e4440752f3
1 changed files with 24 additions and 0 deletions
24
srcpkgs/python3-pyopencl/template
Normal file
24
srcpkgs/python3-pyopencl/template
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Template file for 'python3-pyopencl'
|
||||||
|
pkgname=python3-pyopencl
|
||||||
|
version=2020.1
|
||||||
|
revision=1
|
||||||
|
wrksrc=${pkgname#*-}-${version}
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools python3-pybind11 python3-Cython"
|
||||||
|
makedepends="opencl2-headers ocl-icd-devel python3-pybind11"
|
||||||
|
depends="python3-pytools"
|
||||||
|
short_desc="OpenCL bindings for Python 3"
|
||||||
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||||
|
license="X11, Apache-2.0, BSD-3-Clause"
|
||||||
|
homepage="https://mathema.tician.de/software/pyopencl"
|
||||||
|
distfiles="${PYPI_SITE}/p/pyopencl/pyopencl-${version}.tar.gz"
|
||||||
|
checksum=7513f7054f4eeb5361de1f5113883145fc67dbabde73a2148f221ae05af4d22c
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
./configure.py --cl-inc-dir=${XBPS_CROSS_BASE}/usr/include \
|
||||||
|
--cl-lib-dir=${XBPS_CROSS_BASE}/usr/lib
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue