summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Bernard2020-04-27 17:32:24 +0200
committerSamuel Bernard2020-04-28 16:17:12 +0200
commit857d1869fa0ff5057aa9e93add5bafe959128c5b (patch)
tree25e09903dfe29840e4bd86f3c2b7880b099cf207
parent190e1a5fd48e284225046b75fb8af2c0a6401a2b (diff)
downloadaur-857d1869fa0ff5057aa9e93add5bafe959128c5b.tar.gz
rocthrust: symlink include dir in rocm include dir
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fa17d1099739..3d53f665ba7e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = rocthrust
pkgdesc = Port of the Thrust parallel algorithm library atop HIP/ROCm.
pkgver = 3.3.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/ROCmSoftwarePlatform/rocThrust
arch = x86_64
license = custom:NCSAOSL
diff --git a/PKGBUILD b/PKGBUILD
index c7e561fb3d1a..570c7ab6d2bb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Markus Näther <naetherm@informatik.uni-freiburg.de>
pkgname=rocthrust
pkgver=3.3.0
-pkgrel=2
+pkgrel=3
pkgdesc="Port of the Thrust parallel algorithm library atop HIP/ROCm."
arch=('x86_64')
url="https://github.com/ROCmSoftwarePlatform/rocThrust"
@@ -45,4 +45,7 @@ package() {
cat << EOF > "$pkgdir/etc/ld.so.conf.d/rocthrust.conf"
/opt/rocm/rocthrust/lib
EOF
+
+ install -d "$pkgdir/opt/rocm/include"
+ ln -s /opt/rocm/rocthrust/include/thrust "$pkgdir/opt/rocm/include"
}