summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorsten Keßler2021-03-27 15:53:06 +0100
committerTorsten Keßler2021-03-27 15:53:06 +0100
commit8cf05d4475d95bcc090432b4b47d34ce669c9e75 (patch)
treec50ed7ff3f5af6a7fc60f1aed17891112b425a54
parentc312380ade05c11d8cc922fa1f0de30c58668740 (diff)
downloadaur-8cf05d4475d95bcc090432b4b47d34ce669c9e75.tar.gz
upgpkg: miopengemm 4.1.0-1
upstream release new release
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD21
2 files changed, 14 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2a147819f74..58341da610d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,16 @@
pkgbase = miopengemm
pkgdesc = An OpenCL GEMM kernel generator
- pkgver = 4.0.0
+ pkgver = 4.1.0
pkgrel = 1
url = https://github.com/ROCmSoftwarePlatform/MIOpenGEMM
arch = x86_64
- license = custom:NCSAOSL
+ license = MIT
makedepends = opencl-headers
makedepends = cmake
makedepends = ocl-icd
makedepends = rocm-cmake
depends = ocl-icd
- source = miopengemm-4.0.0.tar.gz::https://github.com/ROCmSoftwarePlatform/MIOpenGEMM/archive/rocm-4.0.0.tar.gz
- sha256sums = 366d03facb1ec5f6f4894aa88859df1d7fea00fee0cbac5173d7577e9a8ba799
+ source = miopengemm-4.1.0.tar.gz::https://github.com/ROCmSoftwarePlatform/MIOpenGEMM/archive/rocm-4.1.0.tar.gz
+ sha256sums = 389328eb4a16565853691bd5b01a0eab978d99e3217329236ddc63a38b8dd4eb
pkgname = miopengemm
diff --git a/PKGBUILD b/PKGBUILD
index 4b4a44bc63b..76931f3e2c9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,27 @@
-# Maintainer: acxz <akashpatel2008 at yahoo dot com>
+# Maintainer: Torsten Keßler <t dot kessler at posteo dot de>
+# Contributor: acxz <akashpatel2008 at yahoo dot com>
# Contributor: Jakub Okoński <jakub@okonski.org>
pkgname=miopengemm
-pkgver=4.0.0
+pkgver=4.1.0
pkgrel=1
pkgdesc="An OpenCL GEMM kernel generator"
arch=('x86_64')
url="https://github.com/ROCmSoftwarePlatform/MIOpenGEMM"
-license=('custom:NCSAOSL')
+license=('MIT')
depends=('ocl-icd')
makedepends=('opencl-headers' 'cmake' 'ocl-icd' 'rocm-cmake')
source=("$pkgname-$pkgver.tar.gz::https://github.com/ROCmSoftwarePlatform/MIOpenGEMM/archive/rocm-$pkgver.tar.gz")
-sha256sums=('366d03facb1ec5f6f4894aa88859df1d7fea00fee0cbac5173d7577e9a8ba799')
+sha256sums=('389328eb4a16565853691bd5b01a0eab978d99e3217329236ddc63a38b8dd4eb')
+_dirname="$(basename "$url")-$(basename "${source[0]}" ".tar.gz")"
build() {
- mkdir -p "$srcdir/build"
- cd "$srcdir/build"
-
- cmake -DCMAKE_INSTALL_PREFIX=/opt/rocm \
- "$srcdir/MIOpenGEMM-rocm-$pkgver"
+ cmake -S "$_dirname" -Wno-dev \
+ -DCMAKE_INSTALL_PREFIX=/opt/rocm
make
}
package() {
- cd "$srcdir/build"
-
make DESTDIR="$pkgdir" install
+
+ install -Dm644 "$srcdir/$_dirname/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}