summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorneeshy2020-03-03 23:55:45 -0500
committerneeshy2020-03-07 14:29:30 -0500
commit59eb2073778e8d1e3d96383be570399838ae857f (patch)
tree4f5a9a190b558703c9ac2411fc35cbb7f7520730 /PKGBUILD
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
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 14 insertions, 13 deletions
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
}