[arch-commits] Commit in arrayfire/repos/community-testing-x86_64 (4 files)
Konstantin Gizdov
kgizdov at gemini.archlinux.org
Fri Feb 4 14:15:06 UTC 2022
Date: Friday, February 4, 2022 @ 14:15:06
Author: kgizdov
Revision: 1125643
archrelease: copy trunk to community-testing-x86_64
Added:
arrayfire/repos/community-testing-x86_64/PKGBUILD
(from rev 1125642, arrayfire/trunk/PKGBUILD)
arrayfire/repos/community-testing-x86_64/arrayfire-boost-1.76.0.patch
(from rev 1125642, arrayfire/trunk/arrayfire-boost-1.76.0.patch)
Deleted:
arrayfire/repos/community-testing-x86_64/PKGBUILD
arrayfire/repos/community-testing-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-02-04 14:14:56 UTC (rev 1125642)
+++ PKGBUILD 2022-02-04 14:15:06 UTC (rev 1125643)
@@ -1,66 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
-pkgname=arrayfire
-pkgver=3.8.1
-pkgrel=3
-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=('341bccdc52c995a58367640574037626476c3836061a93d49344d63cfdda791c171d0908e66a13aff0fc6c4e6b747d801e5b2c637f9576177f91ce0b6cf387bb'
- '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 \
- -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-testing-x86_64/PKGBUILD (from rev 1125642, arrayfire/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-04 14:15:06 UTC (rev 1125643)
@@ -0,0 +1,66 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+pkgname=arrayfire
+pkgver=3.8.1
+pkgrel=4
+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=('341bccdc52c995a58367640574037626476c3836061a93d49344d63cfdda791c171d0908e66a13aff0fc6c4e6b747d801e5b2c637f9576177f91ce0b6cf387bb'
+ '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 \
+ -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-02-04 14:14:56 UTC (rev 1125642)
+++ arrayfire-boost-1.76.0.patch 2022-02-04 14:15:06 UTC (rev 1125643)
@@ -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-testing-x86_64/arrayfire-boost-1.76.0.patch (from rev 1125642, arrayfire/trunk/arrayfire-boost-1.76.0.patch)
===================================================================
--- arrayfire-boost-1.76.0.patch (rev 0)
+++ arrayfire-boost-1.76.0.patch 2022-02-04 14:15:06 UTC (rev 1125643)
@@ -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