diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..808357fd6e21 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: sparklespdx <josh.farwell@gmail.com> +pkgname="gpu_burn-git" +pkgver=0.9.35cfc40 +pkgrel=1 +pkgdesc="Multi-GPU CUDA stress test" +arch=('x86_64') +url="https://github.com/wilicc/gpu-burn" +license=('BSD') +makedepends=('git') +depends=('nvidia' 'opencl-nvidia' 'cuda') +source=("${pkgname}::git+https://github.com/wilicc/gpu-burn?ref=35cfc4045d8435ffac20035bab31e8c412aa1cb4") +sha256sums=('SKIP') + +prepare () { + sed -i "s|CUDAPATH=/usr/local/cuda|CUDAPATH=/opt/cuda|g" "$pkgname"/Makefile +} + +build () { + cd "$pkgname" + make +} + +package() { + cd "$srcdir/$pkgname" + install -Dm755 gpu_burn "${pkgdir}/usr/bin/gpu_burn" +} |