summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJakub Okoński2018-12-21 18:38:56 +0100
committerJakub Okoński2018-12-21 18:38:56 +0100
commit9c06498734416003c0ab442a5711160f9e9ce806 (patch)
treeb33e95505a0854e1109203da7070d05ad9b834a8 /PKGBUILD
downloadaur-9c06498734416003c0ab442a5711160f9e9ce806.tar.gz
Release initial version
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..716be098b02
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Jakub Okoński <jakub@okonski.org>
+pkgname=miopengemm
+pkgver=1.1.5.9547fb98
+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)
+source=("git+https://github.com/ROCmSoftwarePlatform/MIOpenGEMM.git#commit=9547fb9e8499a5a9f16da83b1e6b749de82dd9fb")
+md5sums=('SKIP')
+
+build() {
+ mkdir -p "$srcdir/build"
+ cd "$srcdir/build"
+ cmake -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX="$pkgdir/opt/rocm/miopen" \
+ -G Ninja \
+ "$srcdir/MIOpenGEMM"
+ ninja
+}
+
+package() {
+ ninja -C "$srcdir/build" install
+}
+