1 # Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
2 # Contributor: Baris Demirdelen <barisdemirdelen at gmail dot com>
3 # Contributor: Andrew Anderson <aanderso@tcd.ie>
4 # Contributor: Jonathon Fernyhough <jonathon_at manjaro_dotorg>
8 pkgdesc="oneAPI Deep Neural Network Library (oneDNN)"
10 replaces=('intel-dnnl' 'mkl-dnn')
11 provides=('intel-dnnl' 'mkl-dnn')
12 url=https://github.com/oneapi-src/oneDNN
15 makedepends=('cmake' 'ninja')
16 source=("$pkgname-$pkgver.tar.gz::https://github.com/oneapi-src/oneDNN/archive/v${pkgver}.tar.gz")
17 sha256sums=('28e31f2d576e1a7e3a796f5c33c1d733c256078cff1c48b9e2a692d5975e1401')
24 -DCMAKE_INSTALL_PREFIX="/usr"
29 cd "oneDNN-$pkgver/build"
35 DESTDIR="$pkgdir" ninja -C build install
37 install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE