[arch-commits] Commit in arrayfire/repos/community-x86_64 (4 files)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Sun Jul 31 19:18:15 UTC 2022
Date: Sunday, July 31, 2022 @ 19:18:15
Author: svenstaro
Revision: 1259489
archrelease: copy trunk to community-x86_64
Added:
arrayfire/repos/community-x86_64/PKGBUILD
(from rev 1259488, arrayfire/trunk/PKGBUILD)
arrayfire/repos/community-x86_64/arrayfire-boost-1.76.0.patch
(from rev 1259488, arrayfire/trunk/arrayfire-boost-1.76.0.patch)
Deleted:
arrayfire/repos/community-x86_64/PKGBUILD
arrayfire/repos/community-x86_64/arrayfire-boost-1.76.0.patch
------------------------------+
PKGBUILD | 132 ++++++++++++++++++++---------------------
arrayfire-boost-1.76.0.patch | 24 +++----
2 files changed, 78 insertions(+), 78 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-31 19:17:47 UTC (rev 1259488)
+++ PKGBUILD 2022-07-31 19:18:15 UTC (rev 1259489)
@@ -1,66 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
-pkgname=arrayfire
-pkgver=3.8.2
-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'
- 'ocl-icd: Required for OpenCL ICD Bindings')
-options=('!lto')
-source=("http://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-full-${pkgver}.tar.bz2"
- 'arrayfire-boost-1.76.0.patch')
-sha512sums=('ee8d7fe0406880238af51302f91cdb21879bec0732dc6f257fc522d1f4883ee7136d0ded65c9ebbc493e1795a2a175221a8ca11032ed0cf4ee2e1a555abf3a15'
- '92e34c28e4b6222febef5a3047f4faf64756a50b46a68507931b989984bbc6729aa4d1560dc267650f1890cb1ad7aa0866dd3debc0073f9103f764af7618d795')
-
-prepare() {
- cd "${srcdir}/arrayfire-full-${pkgver}"
- patch -Np1 -i "${srcdir}/arrayfire-boost-1.76.0.patch"
-}
-
-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;8.6+PTX" \
- -DCMAKE_BUILD_TYPE=Release \
- -DCUDA_HOST_COMPILER=/usr/bin/gcc-11 \
- -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
- rm -r "${pkgdir}"/usr/lib/libforge*
-}
Copied: arrayfire/repos/community-x86_64/PKGBUILD (from rev 1259488, arrayfire/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-31 19:18:15 UTC (rev 1259489)
@@ -0,0 +1,66 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+pkgname=arrayfire
+pkgver=3.8.2
+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-oneapi-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'
+ 'ocl-icd: Required for OpenCL ICD Bindings')
+options=('!lto')
+source=("http://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-full-${pkgver}.tar.bz2"
+ 'arrayfire-boost-1.76.0.patch')
+sha512sums=('ee8d7fe0406880238af51302f91cdb21879bec0732dc6f257fc522d1f4883ee7136d0ded65c9ebbc493e1795a2a175221a8ca11032ed0cf4ee2e1a555abf3a15'
+ '92e34c28e4b6222febef5a3047f4faf64756a50b46a68507931b989984bbc6729aa4d1560dc267650f1890cb1ad7aa0866dd3debc0073f9103f764af7618d795')
+
+prepare() {
+ cd "${srcdir}/arrayfire-full-${pkgver}"
+ patch -Np1 -i "${srcdir}/arrayfire-boost-1.76.0.patch"
+}
+
+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;8.6+PTX" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCUDA_HOST_COMPILER=/usr/bin/gcc-11 \
+ -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
+ rm -r "${pkgdir}"/usr/lib/libforge*
+}
Deleted: arrayfire-boost-1.76.0.patch
===================================================================
--- arrayfire-boost-1.76.0.patch 2022-07-31 19:17:47 UTC (rev 1259488)
+++ arrayfire-boost-1.76.0.patch 2022-07-31 19:18:15 UTC (rev 1259489)
@@ -1,12 +0,0 @@
-diff --git a/src/backend/opencl/kernel/homography.hpp b/src/backend/opencl/kernel/homography.hpp
-index b84e599..3034658 100644
---- a/src/backend/opencl/kernel/homography.hpp
-+++ b/src/backend/opencl/kernel/homography.hpp
-@@ -21,6 +21,7 @@
-
- #include <string>
- #include <vector>
-+#include <cfloat>
-
- namespace opencl {
- namespace kernel {
Copied: arrayfire/repos/community-x86_64/arrayfire-boost-1.76.0.patch (from rev 1259488, arrayfire/trunk/arrayfire-boost-1.76.0.patch)
===================================================================
--- arrayfire-boost-1.76.0.patch (rev 0)
+++ arrayfire-boost-1.76.0.patch 2022-07-31 19:18:15 UTC (rev 1259489)
@@ -0,0 +1,12 @@
+diff --git a/src/backend/opencl/kernel/homography.hpp b/src/backend/opencl/kernel/homography.hpp
+index b84e599..3034658 100644
+--- a/src/backend/opencl/kernel/homography.hpp
++++ b/src/backend/opencl/kernel/homography.hpp
+@@ -21,6 +21,7 @@
+
+ #include <string>
+ #include <vector>
++#include <cfloat>
+
+ namespace opencl {
+ namespace kernel {
More information about the arch-commits
mailing list