diff options
author | Daniel Bermond | 2021-02-23 01:17:36 +0000 |
---|---|---|
committer | Daniel Bermond | 2021-02-23 01:17:36 +0000 |
commit | 5427199be07a41b3614670dea3e2b683d683f306 (patch) | |
tree | 1e05cf3854f53bdf2076fb355e995ccaae8fd35b /PKGBUILD | |
parent | dafd19a9ccd8aca540a365b80262fde1f00c47eb (diff) | |
download | aur-5427199be07a41b3614670dea3e2b683d683f306.tar.gz |
package(): install files according to upstream
executable zluda_with and library libzluda_redirect seems to be
for windows only[1], although they also build for linux.
Upstream GitHub actions[2] and distributed linux binaries[3]
includes only libcuda on the package. Only the packaged windows
binaries[4] includes zluda_with and library libzluda_redirect.
References
----------
[1] https://github.com/vosen/ZLUDA/blob/v2/.github/workflows/rust.yml#L49-L55
[2] https://github.com/vosen/ZLUDA/blob/v2/.github/workflows/rust.yml#L29-L38
[3] https://github.com/vosen/ZLUDA/releases/download/v2/zluda-2-linux.zip
[4] https://github.com/vosen/ZLUDA/releases/download/v2/zluda-2-windows.zip
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -2,7 +2,7 @@ pkgname=zluda-git pkgver=2.r0.g4d3e37b -pkgrel=1 +pkgrel=2 pkgdesc='A drop-in replacement for CUDA on Intel GPUs (git version)' arch=('x86_64') url='https://github.com/vosen/ZLUDA/' @@ -39,10 +39,7 @@ check() { } package() { - install -D -m755 ZLUDA/target/release/zluda_with -t "${pkgdir}/usr/bin" - install -D -m644 ZLUDA/target/release/libnvcuda.so -t "${pkgdir}/usr/lib" - install -D -m644 ZLUDA/target/release/libzluda_redirect.so -t "${pkgdir}/usr/lib" + install -D -m644 ZLUDA/target/release/libnvcuda.so "${pkgdir}/usr/lib/libcuda.so.1" install -D -m644 ZLUDA/LICENSE-MIT -t "${pkgdir}/usr/share/licenses/${pkgname}" - ln -s libnvcuda.so "${pkgdir}/usr/lib/libcuda.so" - ln -s libnvcuda.so "${pkgdir}/usr/lib/libcuda.so.1" + ln -s libcuda.so.1 "${pkgdir}/usr/lib/libcuda.so" } |