diff options
author | Torsten Keßler | 2021-05-20 19:21:23 +0200 |
---|---|---|
committer | Torsten Keßler | 2021-05-20 19:21:23 +0200 |
commit | 51829330d205d93b02086a8a08b945b3b92fe3a0 (patch) | |
tree | 377e1288666b3d6b7d04d2a46e2c8f6e4fbe9660 | |
parent | 972b4eb22249eaa6eecd12293a6a14ef731b1f78 (diff) | |
download | aur-51829330d205d93b02086a8a08b945b3b92fe3a0.tar.gz |
upgpkg: hip-rocclr 4.2.0-3
Link HIP library to /opt/rocm/lib
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = hip-rocclr pkgdesc = Heterogeneous Interface for Portability ROCm pkgver = 4.2.0 - pkgrel = 2 + pkgrel = 3 url = https://rocmdocs.amd.com/en/latest/Installation_Guide/HIP.html arch = x86_64 license = MIT @@ -2,7 +2,7 @@ # Contributor: acxz <akashpatel2008 at yahoo dot com> pkgname=hip-rocclr pkgver=4.2.0 -pkgrel=2 +pkgrel=3 pkgdesc="Heterogeneous Interface for Portability ROCm" arch=('x86_64') url='https://rocmdocs.amd.com/en/latest/Installation_Guide/HIP.html' @@ -53,6 +53,9 @@ package() { # Some packages search for hip includes in /opt/rocm/include install -d "$pkgdir/opt/rocm/include" ln -s "/opt/rocm/hip/include/hip" "$pkgdir/opt/rocm/include/hip" + # Same holds for the HIP library + install -d "$pkgdir/opt/rocm/lib" + ln -s "/opt/rocm/hip/lib/libamdhip64.so" "$pkgdir/opt/rocm/lib/libamdhip64.so" install -Dm644 /dev/stdin "$pkgdir/etc/ld.so.conf.d/hip.conf" <<EOF /opt/rocm/hip/lib |