summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTorsten Keßler2021-06-06 20:31:08 +0200
committerTorsten Keßler2021-06-06 20:31:08 +0200
commit7874ccd1656347e7047307946ff58388ec66e826 (patch)
tree7959e7e15e906e05959856384e69f3d4b67af1b6 /PKGBUILD
parent18e2e6ebbaa8a6ab6369f1bcda12e6d6c3ce84ad (diff)
downloadaur-7874ccd1656347e7047307946ff58388ec66e826.tar.gz
upgpkg: miopengemm 4.2.0-3
Fix patch file path
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 43234e1aaa5..c23a13f27f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Jakub Okoński <jakub@okonski.org>
pkgname=miopengemm
pkgver=4.2.0
-pkgrel=2
+pkgrel=3
pkgdesc="An OpenCL GEMM kernel generator"
arch=('x86_64')
url="https://github.com/ROCmSoftwarePlatform/MIOpenGEMM"
@@ -17,8 +17,9 @@ sha256sums=('a11fa063248ed339fe897ab4c5d338b7279035fa37fcbe0909e2c4c352aaefb1'
_dirname="$(basename "$url")-$(basename "${source[0]}" ".tar.gz")"
prepare() {
+ cd "$_dirname"
# fix build with GCC 11, see https://github.com/ROCmSoftwarePlatform/rocBLAS/issues/1191#issuecomment-851696908
- patch -Np1 < "fix-gcc11-build.patch"
+ patch -Np1 < "${srcdir}/fix-gcc11-build.patch"
}
build() {