blob: a6e75e2b21c6f84470b4b927ea1a19829c93a8dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: crl <crl18039102576@126.com>
pkgname=python-pynvjitlink
pkgver=0.6.0
pkgrel=1
pkgdesc="nvJitLink Python binding"
url="https://github.com/rapidsai/pynvjitlink"
arch=('x86_64')
license=('Apache-2.0')
depends=('cuda' 'python')
makedepends=('python-setuptools' 'cmake' 'python-scikit-build-core' 'python-rapids-build-backend' 'ninja' 'cython')
source=("$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=(
'44cf5d3d7082b0ce54a06591e22f2cb7dcd1fd54bc654bdf96ad14c5c922868d'
)
# prepare() {
# cd "$srcdir/pynvjitlink-$pkgver"
# patch -p1 "python/cudf/CMakeLists.txt" < "$srcdir/missing-pkg.patch"
# }
build() {
cd "$srcdir/pynvjitlink-$pkgver"
python -m build --wheel --no-isolation --skip-dependency-check
}
package() {
cd "$srcdir/pynvjitlink-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|