summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorneeshy2020-03-03 23:55:45 -0500
committerneeshy2020-03-07 14:29:30 -0500
commit59eb2073778e8d1e3d96383be570399838ae857f (patch)
tree4f5a9a190b558703c9ac2411fc35cbb7f7520730
parentb5168810cde7f9e72d7e6be2141a99c8d7c478b0 (diff)
downloadaur-59eb2073778e8d1e3d96383be570399838ae857f.tar.gz
Cleanup
Consistent style across project Remove extraneous dependencies Update packages Update checksums and .SRCINFO Specify proper license Fix prefixes Prefer make to ninja Much more TODO: miopen, rocm-cmake{,-git}, rock-dkms{,-git}, Remove duplicates in makedepends and depends git submodules
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD27
2 files changed, 20 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index adda82716fb..a094941ff46 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,17 @@
pkgbase = miopengemm
pkgdesc = An OpenCL GEMM kernel generator
- pkgver = 1.1.5.5c980d5
- pkgrel = 4
+ pkgver = 1.1.6
+ pkgrel = 1
url = https://github.com/ROCmSoftwarePlatform/MIOpenGEMM
arch = x86_64
- license = NCSAOSL
- makedepends = git
+ license = custom:NCSAOSL
makedepends = opencl-headers
makedepends = cmake
- makedepends = gcc
- makedepends = ninja
makedepends = ocl-icd
- makedepends = rocm-cmake-git
+ makedepends = rocm-cmake
depends = ocl-icd
- source = https://github.com/ROCmSoftwarePlatform/MIOpenGEMM/archive/9547fb9e8499a5a9f16da83b1e6b749de82dd9fb.tar.gz
- sha256sums = 7f56bfb9344c5335166900d38f3ddce90a275c34efeb7c65e1346d536ef30f4a
+ source = https://github.com/ROCmSoftwarePlatform/MIOpenGEMM/archive/1.1.6.tar.gz
+ sha256sums = 9ab04903794c6a59432928eaec92c687d51e2b4fd29630cf227cbc49d56dc69b
pkgname = miopengemm
diff --git a/PKGBUILD b/PKGBUILD
index c3e2e37ff89..ae1dc078511 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,29 @@
# Maintainer: Jakub OkoĊ„ski <jakub@okonski.org>
pkgname=miopengemm
-pkgver=1.1.5.5c980d5
-pkgrel=4
+pkgver=1.1.6
+pkgrel=1
pkgdesc="An OpenCL GEMM kernel generator"
arch=('x86_64')
url="https://github.com/ROCmSoftwarePlatform/MIOpenGEMM"
-license=('NCSAOSL')
-depends=(ocl-icd)
-makedepends=(git opencl-headers cmake gcc ninja ocl-icd rocm-cmake-git)
-srcver="9547fb9e8499a5a9f16da83b1e6b749de82dd9fb"
-source=("https://github.com/ROCmSoftwarePlatform/MIOpenGEMM/archive/$srcver.tar.gz")
-sha256sums=('7f56bfb9344c5335166900d38f3ddce90a275c34efeb7c65e1346d536ef30f4a')
+license=('custom:NCSAOSL')
+depends=('ocl-icd')
+makedepends=('opencl-headers' 'cmake' 'ocl-icd' 'rocm-cmake')
+source=("https://github.com/ROCmSoftwarePlatform/MIOpenGEMM/archive/$pkgver.tar.gz")
+sha256sums=('9ab04903794c6a59432928eaec92c687d51e2b4fd29630cf227cbc49d56dc69b')
build() {
mkdir -p "$srcdir/build"
cd "$srcdir/build"
+
cmake -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX="$pkgdir/opt/rocm" \
- -G Ninja \
- "$srcdir/MIOpenGEMM-$srcver"
- ninja
+ -DCMAKE_INSTALL_PREFIX=/opt/rocm \
+ "$srcdir/MIOpenGEMM-$pkgver"
+ make
}
package() {
- ninja -C "$srcdir/build" install
+ cd "$srcdir/build"
+
+ make DESTDIR="$pkgdir" install
}