[arch-commits] Commit in onednn/repos (2 files)

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Sat Nov 6 03:27:43 UTC 2021


    Date: Saturday, November 6, 2021 @ 03:27:42
  Author: svenstaro
Revision: 1037416

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: onednn/repos/community-testing-x86_64/PKGBUILD (from rev 1037415, onednn/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-11-06 03:27:42 UTC (rev 1037416)
@@ -0,0 +1,38 @@
+# 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=2.4.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' 'ninja')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/oneapi-src/oneDNN/archive/v${pkgver}.tar.gz")
+sha256sums=('153bc08827c3007276400262ebdf4234ea7b4cfd2844440dd4641b7b0cc4f88e')
+
+build() {
+  cd "oneDNN-$pkgver"
+  cmake \
+      -Bbuild \
+      -GNinja \
+      -DCMAKE_INSTALL_PREFIX="/usr"
+  ninja -C build
+}
+
+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