[arch-commits] Commit in onednn/repos/community-x86_64 (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Aug 22 22:35:34 UTC 2020
Date: Saturday, August 22, 2020 @ 22:35:34
Author: svenstaro
Revision: 686896
archrelease: copy trunk to community-x86_64
Added:
onednn/repos/community-x86_64/PKGBUILD
(from rev 686895, onednn/trunk/PKGBUILD)
Deleted:
onednn/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 79 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-22 22:35:29 UTC (rev 686895)
+++ PKGBUILD 2020-08-22 22:35:34 UTC (rev 686896)
@@ -1,40 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Baris Demirdelen <barisdemirdelen at gmail dot com>
-# Contributor: Andrew Anderson <aanderso at tcd.ie>
-# Contributor: Jonathon Fernyhough <jonathon_at manjaro_dotorg>
-pkgname=onednn
-pkgver=1.6
-pkgrel=1
-pkgdesc="oneAPI Deep Neural Network Library (oneDNN)"
-arch=(x86_64)
-replaces=('intel-dnnl' 'mkl-dnn')
-provides=('intel-dnnl' 'mkl-dnn')
-url=https://github.com/oneapi-src/oneDNN
-license=('APACHE')
-depends=('gcc-libs')
-makedepends=('cmake' 'doxygen')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/oneapi-src/oneDNN/archive/v${pkgver}.tar.gz")
-sha256sums=('f54893e487ccd99586725afdd19f526bb84e3251222586850782e3c7eedb7c4f')
-
-prepare() {
- mkdir -p "oneDNN-$pkgver"/build
-}
-
-build() {
- cd "oneDNN-$pkgver/build"
- cmake .. -DCMAKE_INSTALL_PREFIX="/usr"
- make
- make doc
-}
-
-check() {
- cd "oneDNN-$pkgver/build"
- ctest
-}
-
-package() {
- cd "oneDNN-$pkgver/build"
- DESTDIR="$pkgdir" make install
-
- install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: onednn/repos/community-x86_64/PKGBUILD (from rev 686895, onednn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-22 22:35:34 UTC (rev 686896)
@@ -0,0 +1,39 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Baris Demirdelen <barisdemirdelen at gmail dot com>
+# Contributor: Andrew Anderson <aanderso at tcd.ie>
+# Contributor: Jonathon Fernyhough <jonathon_at manjaro_dotorg>
+pkgname=onednn
+pkgver=1.6.1
+pkgrel=1
+pkgdesc="oneAPI Deep Neural Network Library (oneDNN)"
+arch=(x86_64)
+replaces=('intel-dnnl' 'mkl-dnn')
+provides=('intel-dnnl' 'mkl-dnn')
+url=https://github.com/oneapi-src/oneDNN
+license=('APACHE')
+depends=('gcc-libs')
+makedepends=('cmake' 'doxygen' 'ninja')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/oneapi-src/oneDNN/archive/v${pkgver}.tar.gz")
+sha256sums=('6686d01d9493905c9c8bcfabcf5b2cc9ced7de7a41c52bba99e569fd5b63464d')
+
+build() {
+ cd "oneDNN-$pkgver"
+ cmake . \
+ -Bbuild \
+ -GNinja \
+ -DCMAKE_INSTALL_PREFIX="/usr"
+ ninja -C build
+ ninja -C build doc
+}
+
+check() {
+ cd "oneDNN-$pkgver/build"
+ ctest
+}
+
+package() {
+ cd "oneDNN-$pkgver"
+ DESTDIR="$pkgdir" ninja -C build install
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list