Date: Sunday, February 16, 2020 @ 00:19:34 Author: svenstaro Revision: 572059
archrelease: copy trunk to community-testing-x86_64 Added: mkl-dnn/repos/community-testing-x86_64/ mkl-dnn/repos/community-testing-x86_64/PKGBUILD (from rev 572058, mkl-dnn/trunk/PKGBUILD) ----------+ PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) Copied: mkl-dnn/repos/community-testing-x86_64/PKGBUILD (from rev 572058, mkl-dnn/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2020-02-16 00:19:34 UTC (rev 572059) @@ -0,0 +1,41 @@ +# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> +# Contributor: Baris Demirdelen <barisdemirdelen at gmail dot com> +# Contributor: Andrew Anderson <aande...@tcd.ie> +# Contributor: Jonathon Fernyhough <jonathon_at manjaro_dotorg> +pkgname=intel-dnnl +_pkgname=mkl-dnn +pkgver=1.2 +pkgrel=1 +pkgdesc="Intel Deep Neural Network Library (formerly mkl-dnn)" +arch=(x86_64) +provides=(mkl-dnn) +url=https://github.com/intel/mkl-dnn +license=('APACHE') +makedepends=('cmake' 'doxygen') +source=("$pkgname-$pkgver.tar.gz::https://github.com/intel/mkl-dnn/archive/v${pkgver}.tar.gz") +sha256sums=('30979a09753e8e35d942446c3778c9f0eba543acf2fb0282af8b9c89355d0ddf') + +prepare() { + cd "$_pkgname-$pkgver" + mkdir -p build +} + +build() { + cd "$_pkgname-$pkgver/build" + cmake .. -DCMAKE_INSTALL_PREFIX="/usr" + make + make doc +} + +check() { + cd "$_pkgname-$pkgver/build" + ctest +} + +package() { + cd "$_pkgname-$pkgver/build" + DESTDIR="$pkgdir" make install + + cd .. + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}