[arch-commits] Commit in onednn (3 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Apr 13 23:30:16 UTC 2020


    Date: Monday, April 13, 2020 @ 23:30:15
  Author: svenstaro
Revision: 613844

archrelease: copy trunk to community-x86_64

Added:
  onednn/repos/
  onednn/repos/community-x86_64/
  onednn/repos/community-x86_64/PKGBUILD
    (from rev 613843, onednn/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: onednn/repos/community-x86_64/PKGBUILD (from rev 613843, onednn/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2020-04-13 23:30:15 UTC (rev 613844)
@@ -0,0 +1,40 @@
+# 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.3
+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=('b87c23b40a93ef5e479c81028db71c4847225b1a170f82af5e79f1cda826d3bf')
+
+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
+}



More information about the arch-commits mailing list