[arch-commits] Commit in arrayfire/repos/community-x86_64 (PKGBUILD PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Dec 19 15:31:45 UTC 2020


    Date: Saturday, December 19, 2020 @ 15:31:44
  Author: svenstaro
Revision: 779985

archrelease: copy trunk to community-x86_64

Added:
  arrayfire/repos/community-x86_64/PKGBUILD
    (from rev 779984, arrayfire/trunk/PKGBUILD)
Deleted:
  arrayfire/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  116 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-19 15:31:33 UTC (rev 779984)
+++ PKGBUILD	2020-12-19 15:31:44 UTC (rev 779985)
@@ -1,58 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-pkgname=arrayfire
-pkgver=3.7.3
-pkgrel=1
-pkgdesc="High performance software library for parallel computing with an easy-to-use API"
-arch=('x86_64')
-url='https://arrayfire.com'
-license=('BSD')
-depends=('cblas' 'fftw' 'lapacke' 'forge' 'freeimage' 'glfw' 'glew' 'intel-mkl')
-makedepends=('cmake' 'graphviz' 'doxygen' 'opencl-headers' 'python' 'ocl-icd' 'cuda' 'cudnn' 'git' 'ninja' 'boost')
-optdepends=('cuda: Required for using CUDA backend'
-            'nvidia-utils: Required for using CUDA backend'
-            'cudnn: Required for using CUDA backend'
-            'opencl-driver: Required for using OpenCL backend')
-options=('!buildflags')
-# source=("http://arrayfire.com/arrayfire_source/arrayfire-full-${pkgver}.tar.bz2")
-source=("http://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-full-${pkgver}.tar.bz2")
-sha512sums=('e94545b9e02c95ceff863ff73717250a8a7dd818d9c598f3e18f9aedb808977ee5062a6a1da212bd8c22996d2324153b2d1dfc9ecb4114a07b4927383881e230')
-
-build() {
-  cd "${srcdir}/arrayfire-full-${pkgver}"
-
-  cmake . \
-      -GNinja \
-      -Bbuild \
-      -DUSE_CPU_MKL=ON \
-      -DGOOGLETEST_VERSION=1.9.0 \
-      -DCMAKE_INSTALL_PREFIX=/usr \
-      -DCMAKE_INSTALL_LIBDIR=/usr/lib \
-      -DAF_WITH_IMAGEIO=ON \
-      -DAF_BUILD_CPU=ON \
-      -DAF_BUILD_OPENCL=ON \
-      -DAF_WITH_NONFREE=ON \
-      -DAF_BUILD_EXAMPLES=ON \
-      -DAF_BUILD_DOCS=ON \
-      -DCUDA_architecture_build_targets="5.2;5.3;6.0;6.1;6.2;7.0;7.2;7.5;8.0;8.6" \
-      -DCMAKE_BUILD_TYPE=Release \
-      -DCUDA_HOST_COMPILER=/usr/bin/gcc \
-      -DBoost_NO_BOOST_CMAKE=ON
-
-  ninja -C build
-}
-
-check() {
-  cd "${srcdir}/arrayfire-full-${pkgver}"
-
-  # Tests currently broken :(
-  # ninja -C build test
-}
-
-package() {
-  cd "${srcdir}/arrayfire-full-${pkgver}"
-
-  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-
-  DESTDIR="${pkgdir}/" ninja -C build install
-  rm -r "${pkgdir}"/usr/LICENSES
-}

Copied: arrayfire/repos/community-x86_64/PKGBUILD (from rev 779984, arrayfire/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-19 15:31:44 UTC (rev 779985)
@@ -0,0 +1,58 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+pkgname=arrayfire
+pkgver=3.7.3
+pkgrel=2
+pkgdesc="High performance software library for parallel computing with an easy-to-use API"
+arch=('x86_64')
+url='https://arrayfire.com'
+license=('BSD')
+depends=('cblas' 'fftw' 'lapacke' 'forge' 'freeimage' 'glfw' 'glew' 'intel-mkl')
+makedepends=('cmake' 'graphviz' 'doxygen' 'opencl-headers' 'python' 'ocl-icd' 'cuda' 'cudnn' 'git' 'ninja' 'boost')
+optdepends=('cuda: Required for using CUDA backend'
+            'nvidia-utils: Required for using CUDA backend'
+            'cudnn: Required for using CUDA backend'
+            'opencl-driver: Required for using OpenCL backend')
+options=('!buildflags')
+# source=("http://arrayfire.com/arrayfire_source/arrayfire-full-${pkgver}.tar.bz2")
+source=("http://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-full-${pkgver}.tar.bz2")
+sha512sums=('e94545b9e02c95ceff863ff73717250a8a7dd818d9c598f3e18f9aedb808977ee5062a6a1da212bd8c22996d2324153b2d1dfc9ecb4114a07b4927383881e230')
+
+build() {
+  cd "${srcdir}/arrayfire-full-${pkgver}"
+
+  cmake . \
+      -GNinja \
+      -Bbuild \
+      -DUSE_CPU_MKL=ON \
+      -DGOOGLETEST_VERSION=1.9.0 \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+      -DAF_WITH_IMAGEIO=ON \
+      -DAF_BUILD_CPU=ON \
+      -DAF_BUILD_OPENCL=ON \
+      -DAF_WITH_NONFREE=ON \
+      -DAF_BUILD_EXAMPLES=ON \
+      -DAF_BUILD_DOCS=ON \
+      -DCUDA_architecture_build_targets="5.2;5.3;6.0;6.1;6.2;7.0;7.2;7.5;8.0;8.6" \
+      -DCMAKE_BUILD_TYPE=Release \
+      -DCUDA_HOST_COMPILER=/usr/bin/gcc \
+      -DBoost_NO_BOOST_CMAKE=ON
+
+  ninja -C build
+}
+
+check() {
+  cd "${srcdir}/arrayfire-full-${pkgver}"
+
+  # Tests currently broken :(
+  # ninja -C build test
+}
+
+package() {
+  cd "${srcdir}/arrayfire-full-${pkgver}"
+
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+
+  DESTDIR="${pkgdir}/" ninja -C build install
+  rm -r "${pkgdir}"/usr/LICENSES
+}



More information about the arch-commits mailing list