blob: 74ab668d54b0bffd16b68cf0950b47c4367ab557 (
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
33
34
|
# Maintainer: crl <crl18039102576@126.com>
pkgname=python-cudf
pkgver=25.06.00
pkgrel=1
pkgdesc="cuDF - GPU DataFrame Library"
url="https://github.com/rapidsai/cudf"
arch=('x86_64')
license=('Apache-2.0')
depends=('cuda' 'python' 'libcudf' 'python-pylibcudf' 'python-cupy' 'python-nvtx' 'python-pynvjitlink' 'python-pyarrow')
makedepends=('cuda' 'python-setuptools' 'cmake' 'python-scikit-build-core' 'python-rapids-build-backend' 'ninja' 'cython')
source=("$url/archive/refs/tags/v$pkgver.tar.gz" "missing-pkg.patch")
sha256sums=(
'4fdcac02be1e0022643a1cd2afa9bae6091bb7d7525cdf0edb9d481bca737fa2'
'72618631b71f51c4d0773f6964bb9bfe3a92ba0ebe5351fd7baedb56f833fcfa'
)
prepare() {
cd "$srcdir/cudf-$pkgver"
patch -p1 "python/cudf/CMakeLists.txt" < "$srcdir/missing-pkg.patch"
}
build() {
cd "$srcdir/cudf-$pkgver/python/cudf"
export CCCL_DIR="/opt/cuda/lib/cmake"
python -m build --wheel --no-isolation --skip-dependency-check
}
package() {
cd "$srcdir/cudf-$pkgver/python/cudf"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|