summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorsten Keßler2021-05-09 15:03:10 +0200
committerTorsten Keßler2021-05-09 15:03:10 +0200
commit96edbd485fafc4bdacd54fa51260c48aaefb1c61 (patch)
tree82b72d5dd6921087350e18e04af90de03437bdc9
parenteb9f0e7532e3a570858b592ed5db0abe5c8f2288 (diff)
downloadaur-96edbd485fafc4bdacd54fa51260c48aaefb1c61.tar.gz
upgpkg: hip-nvcc 4.1.1-1
upstream release Change installation prefix to /opt/rocm and update to new release
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 10ad7d0e05e..d8d75c812e5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = hip-nvcc
pkgdesc = Heterogeneous Interface for Portability ROCm
- pkgver = 4.1.0
+ pkgver = 4.1.1
pkgrel = 1
url = https://github.com/ROCm-Developer-Tools/HIP
arch = x86_64
@@ -12,7 +12,7 @@ pkgbase = hip-nvcc
depends = llvm-amdgpu
provides = hip
conflicts = hip
- source = hip-nvcc-4.1.0.tar.gz::https://github.com/ROCm-Developer-Tools/HIP/archive/rocm-4.1.0.tar.gz
- sha256sums = e21c10b62868ece7aa3c8413ec0921245612d16d86d81fe61797bf9a64bc37eb
+ source = hip-nvcc-4.1.1.tar.gz::https://github.com/ROCm-Developer-Tools/HIP/archive/rocm-4.1.1.tar.gz
+ sha256sums = 4dbdbcd79e8803387790cba7ea94f28fd312a60e6704361f43b3241d2afe0f45
pkgname = hip-nvcc
diff --git a/PKGBUILD b/PKGBUILD
index 4356416985c..d87c4a5b2fb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Torsten Keßler <t dot kessler at posteo dot de>
# Contributor: acxz <akashpatel2008 at yahoo dot com>
pkgname=hip-nvcc
-pkgver=4.1.0
+pkgver=4.1.1
pkgrel=1
pkgdesc="Heterogeneous Interface for Portability ROCm"
arch=('x86_64')
@@ -13,11 +13,11 @@ provides=('hip')
conflicts=('hip')
_git='https://github.com/ROCm-Developer-Tools/HIP'
source=("$pkgname-$pkgver.tar.gz::$_git/archive/rocm-$pkgver.tar.gz")
-sha256sums=('e21c10b62868ece7aa3c8413ec0921245612d16d86d81fe61797bf9a64bc37eb')
+sha256sums=('4dbdbcd79e8803387790cba7ea94f28fd312a60e6704361f43b3241d2afe0f45')
build() {
cmake -B build -Wno-dev \
- -DCMAKE_INSTALL_PREFIX=/opt/rocm/hip \
+ -DCMAKE_INSTALL_PREFIX=/opt/rocm \
-DHIP_PLATFORM=nvidia \
-DHIP_COMPILER=clang \
"$srcdir/HIP-rocm-$pkgver"
@@ -31,11 +31,11 @@ package() {
install -d "$pkgdir/usr/bin"
local _fn
for _fn in hipcc hipconfig; do
- ln -s "/opt/rocm/hip/bin/$_fn" "$pkgdir/usr/bin/$_fn"
+ ln -s "/opt/rocm/bin/$_fn" "$pkgdir/usr/bin/$_fn"
done
install -Dm644 /dev/stdin "$pkgdir/etc/ld.so.conf.d/hip.conf" <<EOF
-/opt/rocm/hip/lib
+/opt/rocm/lib
EOF
install -Dm644 "$srcdir/HIP-rocm-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}