[arch-commits] Commit in arrayfire/repos (3 files)

2022-08-24 Thread Konstantin Gizdov via arch-commits
Date: Wednesday, August 24, 2022 @ 23:41:28
  Author: kgizdov
Revision: 1277966

archrelease: copy trunk to community-staging-x86_64

Added:
  arrayfire/repos/community-staging-x86_64/
  arrayfire/repos/community-staging-x86_64/PKGBUILD
(from rev 1277965, arrayfire/trunk/PKGBUILD)
  arrayfire/repos/community-staging-x86_64/arrayfire-boost-1.76.0.patch
(from rev 1277965, arrayfire/trunk/arrayfire-boost-1.76.0.patch)

--+
 PKGBUILD |   66 +
 arrayfire-boost-1.76.0.patch |   12 +++
 2 files changed, 78 insertions(+)

Copied: arrayfire/repos/community-staging-x86_64/PKGBUILD (from rev 1277965, 
arrayfire/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-24 23:41:28 UTC (rev 1277966)
@@ -0,0 +1,66 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=arrayfire
+pkgver=3.8.2
+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-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.7;8.7+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-staging-x86_64/arrayfire-boost-1.76.0.patch 
(from rev 1277965, arrayfire/trunk/arrayfire-boost-1.76.0.patch)
===
--- community-staging-x86_64/arrayfire-boost-1.76.0.patch   
(rev 0)
+++ community-staging-x86_64/arrayfire-boost-1.76.0.patch   2022-08-24 
23:41:28 UTC (rev 1277966)
@@ -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 
+ #include 
++#include 
+ 
+ namespace opencl {
+ namespace kernel {



[arch-commits] Commit in arrayfire/repos (3 files)

2022-05-14 Thread Sven-Hendrik Haase via arch-commits
Date: Sunday, May 15, 2022 @ 04:24:17
  Author: svenstaro
Revision: 1206219

archrelease: copy trunk to community-staging-x86_64

Added:
  arrayfire/repos/community-staging-x86_64/
  arrayfire/repos/community-staging-x86_64/PKGBUILD
(from rev 1206218, arrayfire/trunk/PKGBUILD)
  arrayfire/repos/community-staging-x86_64/arrayfire-boost-1.76.0.patch
(from rev 1206218, arrayfire/trunk/arrayfire-boost-1.76.0.patch)

--+
 PKGBUILD |   66 +
 arrayfire-boost-1.76.0.patch |   12 +++
 2 files changed, 78 insertions(+)

Copied: arrayfire/repos/community-staging-x86_64/PKGBUILD (from rev 1206218, 
arrayfire/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-15 04:24:17 UTC (rev 1206219)
@@ -0,0 +1,66 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=arrayfire
+pkgver=3.8.1
+pkgrel=7
+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-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-staging-x86_64/arrayfire-boost-1.76.0.patch 
(from rev 1206218, arrayfire/trunk/arrayfire-boost-1.76.0.patch)
===
--- community-staging-x86_64/arrayfire-boost-1.76.0.patch   
(rev 0)
+++ community-staging-x86_64/arrayfire-boost-1.76.0.patch   2022-05-15 
04:24:17 UTC (rev 1206219)
@@ -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 
+ #include 
++#include 
+ 
+ namespace opencl {
+ namespace kernel {



[arch-commits] Commit in arrayfire/repos (3 files)

2022-04-28 Thread Konstantin Gizdov via arch-commits
Date: Thursday, April 28, 2022 @ 11:10:20
  Author: kgizdov
Revision: 1191550

archrelease: copy trunk to community-testing-x86_64

Added:
  arrayfire/repos/community-testing-x86_64/
  arrayfire/repos/community-testing-x86_64/PKGBUILD
(from rev 1191548, arrayfire/trunk/PKGBUILD)
  arrayfire/repos/community-testing-x86_64/arrayfire-boost-1.76.0.patch
(from rev 1191548, arrayfire/trunk/arrayfire-boost-1.76.0.patch)

--+
 PKGBUILD |   66 +
 arrayfire-boost-1.76.0.patch |   12 +++
 2 files changed, 78 insertions(+)

Copied: arrayfire/repos/community-testing-x86_64/PKGBUILD (from rev 1191548, 
arrayfire/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-04-28 11:10:20 UTC (rev 1191550)
@@ -0,0 +1,66 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=arrayfire
+pkgver=3.8.1
+pkgrel=6
+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/arrayfire-boost-1.76.0.patch 
(from rev 1191548, arrayfire/trunk/arrayfire-boost-1.76.0.patch)
===
--- community-testing-x86_64/arrayfire-boost-1.76.0.patch   
(rev 0)
+++ community-testing-x86_64/arrayfire-boost-1.76.0.patch   2022-04-28 
11:10:20 UTC (rev 1191550)
@@ -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 
+ #include 
++#include 
+ 
+ namespace opencl {
+ namespace kernel {



[arch-commits] Commit in arrayfire/repos (3 files)

2022-03-23 Thread Konstantin Gizdov via arch-commits
Date: Wednesday, March 23, 2022 @ 22:40:50
  Author: kgizdov
Revision: 1172237

archrelease: copy trunk to community-testing-x86_64

Added:
  arrayfire/repos/community-testing-x86_64/
  arrayfire/repos/community-testing-x86_64/PKGBUILD
(from rev 1172236, arrayfire/trunk/PKGBUILD)
  arrayfire/repos/community-testing-x86_64/arrayfire-boost-1.76.0.patch
(from rev 1172236, arrayfire/trunk/arrayfire-boost-1.76.0.patch)

--+
 PKGBUILD |   66 +
 arrayfire-boost-1.76.0.patch |   12 +++
 2 files changed, 78 insertions(+)

Copied: arrayfire/repos/community-testing-x86_64/PKGBUILD (from rev 1172236, 
arrayfire/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-03-23 22:40:50 UTC (rev 1172237)
@@ -0,0 +1,66 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=arrayfire
+pkgver=3.8.1
+pkgrel=5
+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/arrayfire-boost-1.76.0.patch 
(from rev 1172236, arrayfire/trunk/arrayfire-boost-1.76.0.patch)
===
--- community-testing-x86_64/arrayfire-boost-1.76.0.patch   
(rev 0)
+++ community-testing-x86_64/arrayfire-boost-1.76.0.patch   2022-03-23 
22:40:50 UTC (rev 1172237)
@@ -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 
+ #include 
++#include 
+ 
+ namespace opencl {
+ namespace kernel {



[arch-commits] Commit in arrayfire/repos (3 files)

2022-01-29 Thread Konstantin Gizdov via arch-commits
Date: Saturday, January 29, 2022 @ 22:27:09
  Author: kgizdov
Revision: 111

archrelease: copy trunk to community-testing-x86_64

Added:
  arrayfire/repos/community-testing-x86_64/
  arrayfire/repos/community-testing-x86_64/PKGBUILD
(from rev 1119998, arrayfire/trunk/PKGBUILD)
  arrayfire/repos/community-testing-x86_64/arrayfire-boost-1.76.0.patch
(from rev 1119998, arrayfire/trunk/arrayfire-boost-1.76.0.patch)

--+
 PKGBUILD |   66 +
 arrayfire-boost-1.76.0.patch |   12 +++
 2 files changed, 78 insertions(+)

Copied: arrayfire/repos/community-testing-x86_64/PKGBUILD (from rev 1119998, 
arrayfire/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-01-29 22:27:09 UTC (rev 111)
@@ -0,0 +1,66 @@
+# Maintainer: Sven-Hendrik Haase 
+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/arrayfire-boost-1.76.0.patch 
(from rev 1119998, arrayfire/trunk/arrayfire-boost-1.76.0.patch)
===
--- community-testing-x86_64/arrayfire-boost-1.76.0.patch   
(rev 0)
+++ community-testing-x86_64/arrayfire-boost-1.76.0.patch   2022-01-29 
22:27:09 UTC (rev 111)
@@ -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 
+ #include 
++#include 
+ 
+ namespace opencl {
+ namespace kernel {



[arch-commits] Commit in arrayfire/repos (3 files)

2021-11-22 Thread Konstantin Gizdov via arch-commits
Date: Tuesday, November 23, 2021 @ 03:19:27
  Author: kgizdov
Revision: 1054419

archrelease: copy trunk to community-testing-x86_64

Added:
  arrayfire/repos/community-testing-x86_64/
  arrayfire/repos/community-testing-x86_64/PKGBUILD
(from rev 1054418, arrayfire/trunk/PKGBUILD)
  arrayfire/repos/community-testing-x86_64/arrayfire-boost-1.76.0.patch
(from rev 1054418, arrayfire/trunk/arrayfire-boost-1.76.0.patch)

--+
 PKGBUILD |   65 +
 arrayfire-boost-1.76.0.patch |   12 +++
 2 files changed, 77 insertions(+)

Copied: arrayfire/repos/community-testing-x86_64/PKGBUILD (from rev 1054418, 
arrayfire/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2021-11-23 03:19:27 UTC (rev 1054419)
@@ -0,0 +1,65 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=arrayfire
+pkgver=3.8.0
+pkgrel=15
+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=('!buildflags')
+source=("http://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-full-${pkgver}.tar.bz2;
+'arrayfire-boost-1.76.0.patch')
+sha512sums=('f36bee89a0f1a0a48ca2cae3a7b2527d63830e3070cb31174ff7f5c42f065aad6981d5142a8b7af7215a3c7dbf67ae13d1ea3543cd94eb70cff509c8cb95c739'
+
'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
+}

Copied: arrayfire/repos/community-testing-x86_64/arrayfire-boost-1.76.0.patch 
(from rev 1054418, arrayfire/trunk/arrayfire-boost-1.76.0.patch)
===
--- community-testing-x86_64/arrayfire-boost-1.76.0.patch   
(rev 0)
+++ community-testing-x86_64/arrayfire-boost-1.76.0.patch   2021-11-23 
03:19:27 UTC (rev 1054419)
@@ -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 
+ #include 
++#include 
+ 
+ namespace opencl {
+ namespace kernel {



[arch-commits] Commit in arrayfire/repos (3 files)

2021-10-30 Thread Sven-Hendrik Haase via arch-commits
Date: Sunday, October 31, 2021 @ 02:52:47
  Author: svenstaro
Revision: 1035037

archrelease: copy trunk to community-testing-x86_64

Added:
  arrayfire/repos/community-testing-x86_64/
  arrayfire/repos/community-testing-x86_64/PKGBUILD
(from rev 1035036, arrayfire/trunk/PKGBUILD)
  arrayfire/repos/community-testing-x86_64/arrayfire-boost-1.76.0.patch
(from rev 1035036, arrayfire/trunk/arrayfire-boost-1.76.0.patch)

--+
 PKGBUILD |   65 +
 arrayfire-boost-1.76.0.patch |   12 +++
 2 files changed, 77 insertions(+)

Copied: arrayfire/repos/community-testing-x86_64/PKGBUILD (from rev 1035036, 
arrayfire/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2021-10-31 02:52:47 UTC (rev 1035037)
@@ -0,0 +1,65 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=arrayfire
+pkgver=3.8.0
+pkgrel=14
+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=('!buildflags')
+source=("http://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-full-${pkgver}.tar.bz2;
+'arrayfire-boost-1.76.0.patch')
+sha512sums=('f36bee89a0f1a0a48ca2cae3a7b2527d63830e3070cb31174ff7f5c42f065aad6981d5142a8b7af7215a3c7dbf67ae13d1ea3543cd94eb70cff509c8cb95c739'
+
'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
+}

Copied: arrayfire/repos/community-testing-x86_64/arrayfire-boost-1.76.0.patch 
(from rev 1035036, arrayfire/trunk/arrayfire-boost-1.76.0.patch)
===
--- community-testing-x86_64/arrayfire-boost-1.76.0.patch   
(rev 0)
+++ community-testing-x86_64/arrayfire-boost-1.76.0.patch   2021-10-31 
02:52:47 UTC (rev 1035037)
@@ -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 
+ #include 
++#include 
+ 
+ namespace opencl {
+ namespace kernel {



[arch-commits] Commit in arrayfire/repos (3 files)

2021-09-13 Thread Konstantin Gizdov via arch-commits
Date: Monday, September 13, 2021 @ 15:23:32
  Author: kgizdov
Revision: 1014689

archrelease: copy trunk to community-testing-x86_64

Added:
  arrayfire/repos/community-testing-x86_64/
  arrayfire/repos/community-testing-x86_64/PKGBUILD
(from rev 1014688, arrayfire/trunk/PKGBUILD)
  arrayfire/repos/community-testing-x86_64/arrayfire-boost-1.76.0.patch
(from rev 1014688, arrayfire/trunk/arrayfire-boost-1.76.0.patch)

--+
 PKGBUILD |   65 +
 arrayfire-boost-1.76.0.patch |   12 +++
 2 files changed, 77 insertions(+)

Copied: arrayfire/repos/community-testing-x86_64/PKGBUILD (from rev 1014688, 
arrayfire/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2021-09-13 15:23:32 UTC (rev 1014689)
@@ -0,0 +1,65 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=arrayfire
+pkgver=3.8.0
+pkgrel=12
+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=('!buildflags')
+source=("http://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-full-${pkgver}.tar.bz2;
+'arrayfire-boost-1.76.0.patch')
+sha512sums=('f36bee89a0f1a0a48ca2cae3a7b2527d63830e3070cb31174ff7f5c42f065aad6981d5142a8b7af7215a3c7dbf67ae13d1ea3543cd94eb70cff509c8cb95c739'
+
'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
+}

Copied: arrayfire/repos/community-testing-x86_64/arrayfire-boost-1.76.0.patch 
(from rev 1014688, arrayfire/trunk/arrayfire-boost-1.76.0.patch)
===
--- community-testing-x86_64/arrayfire-boost-1.76.0.patch   
(rev 0)
+++ community-testing-x86_64/arrayfire-boost-1.76.0.patch   2021-09-13 
15:23:32 UTC (rev 1014689)
@@ -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 
+ #include 
++#include 
+ 
+ namespace opencl {
+ namespace kernel {



[arch-commits] Commit in arrayfire/repos (3 files)

2021-08-16 Thread Konstantin Gizdov via arch-commits
Date: Monday, August 16, 2021 @ 16:29:10
  Author: kgizdov
Revision: 1001054

archrelease: copy trunk to community-testing-x86_64

Added:
  arrayfire/repos/community-testing-x86_64/
  arrayfire/repos/community-testing-x86_64/PKGBUILD
(from rev 1001053, arrayfire/trunk/PKGBUILD)
  arrayfire/repos/community-testing-x86_64/arrayfire-boost-1.76.0.patch
(from rev 1001053, arrayfire/trunk/arrayfire-boost-1.76.0.patch)

--+
 PKGBUILD |   65 +
 arrayfire-boost-1.76.0.patch |   12 +++
 2 files changed, 77 insertions(+)

Copied: arrayfire/repos/community-testing-x86_64/PKGBUILD (from rev 1001053, 
arrayfire/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2021-08-16 16:29:10 UTC (rev 1001054)
@@ -0,0 +1,65 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=arrayfire
+pkgver=3.8.0
+pkgrel=11
+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=('!buildflags')
+source=("http://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-full-${pkgver}.tar.bz2;
+'arrayfire-boost-1.76.0.patch')
+sha512sums=('f36bee89a0f1a0a48ca2cae3a7b2527d63830e3070cb31174ff7f5c42f065aad6981d5142a8b7af7215a3c7dbf67ae13d1ea3543cd94eb70cff509c8cb95c739'
+
'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
+}

Copied: arrayfire/repos/community-testing-x86_64/arrayfire-boost-1.76.0.patch 
(from rev 1001053, arrayfire/trunk/arrayfire-boost-1.76.0.patch)
===
--- community-testing-x86_64/arrayfire-boost-1.76.0.patch   
(rev 0)
+++ community-testing-x86_64/arrayfire-boost-1.76.0.patch   2021-08-16 
16:29:10 UTC (rev 1001054)
@@ -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 
+ #include 
++#include 
+ 
+ namespace opencl {
+ namespace kernel {



[arch-commits] Commit in arrayfire/repos (3 files)

2021-07-20 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, July 20, 2021 @ 19:42:27
  Author: svenstaro
Revision: 980560

archrelease: copy trunk to community-testing-x86_64

Added:
  arrayfire/repos/community-testing-x86_64/
  arrayfire/repos/community-testing-x86_64/PKGBUILD
(from rev 980559, arrayfire/trunk/PKGBUILD)
  arrayfire/repos/community-testing-x86_64/arrayfire-boost-1.76.0.patch
(from rev 980559, arrayfire/trunk/arrayfire-boost-1.76.0.patch)

--+
 PKGBUILD |   65 +
 arrayfire-boost-1.76.0.patch |   12 +++
 2 files changed, 77 insertions(+)

Copied: arrayfire/repos/community-testing-x86_64/PKGBUILD (from rev 980559, 
arrayfire/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2021-07-20 19:42:27 UTC (rev 980560)
@@ -0,0 +1,65 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=arrayfire
+pkgver=3.8.0
+pkgrel=10
+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=('!buildflags')
+source=("http://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-full-${pkgver}.tar.bz2;
+'arrayfire-boost-1.76.0.patch')
+sha512sums=('f36bee89a0f1a0a48ca2cae3a7b2527d63830e3070cb31174ff7f5c42f065aad6981d5142a8b7af7215a3c7dbf67ae13d1ea3543cd94eb70cff509c8cb95c739'
+
'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-10 \
+  -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-testing-x86_64/arrayfire-boost-1.76.0.patch 
(from rev 980559, arrayfire/trunk/arrayfire-boost-1.76.0.patch)
===
--- community-testing-x86_64/arrayfire-boost-1.76.0.patch   
(rev 0)
+++ community-testing-x86_64/arrayfire-boost-1.76.0.patch   2021-07-20 
19:42:27 UTC (rev 980560)
@@ -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 
+ #include 
++#include 
+ 
+ namespace opencl {
+ namespace kernel {



[arch-commits] Commit in arrayfire/repos (3 files)

2021-06-14 Thread Konstantin Gizdov via arch-commits
Date: Monday, June 14, 2021 @ 15:08:47
  Author: kgizdov
Revision: 963455

archrelease: copy trunk to community-testing-x86_64

Added:
  arrayfire/repos/community-testing-x86_64/
  arrayfire/repos/community-testing-x86_64/PKGBUILD
(from rev 963454, arrayfire/trunk/PKGBUILD)
  arrayfire/repos/community-testing-x86_64/arrayfire-boost-1.76.0.patch
(from rev 963454, arrayfire/trunk/arrayfire-boost-1.76.0.patch)

--+
 PKGBUILD |   65 +
 arrayfire-boost-1.76.0.patch |   12 +++
 2 files changed, 77 insertions(+)

Copied: arrayfire/repos/community-testing-x86_64/PKGBUILD (from rev 963454, 
arrayfire/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2021-06-14 15:08:47 UTC (rev 963455)
@@ -0,0 +1,65 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=arrayfire
+pkgver=3.8.0
+pkgrel=8
+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=('!buildflags')
+source=("http://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-full-${pkgver}.tar.bz2;
+'arrayfire-boost-1.76.0.patch')
+sha512sums=('f36bee89a0f1a0a48ca2cae3a7b2527d63830e3070cb31174ff7f5c42f065aad6981d5142a8b7af7215a3c7dbf67ae13d1ea3543cd94eb70cff509c8cb95c739'
+
'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" \
+  -DCMAKE_BUILD_TYPE=Release \
+  -DCUDA_HOST_COMPILER=/usr/bin/gcc-10 \
+  -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-testing-x86_64/arrayfire-boost-1.76.0.patch 
(from rev 963454, arrayfire/trunk/arrayfire-boost-1.76.0.patch)
===
--- community-testing-x86_64/arrayfire-boost-1.76.0.patch   
(rev 0)
+++ community-testing-x86_64/arrayfire-boost-1.76.0.patch   2021-06-14 
15:08:47 UTC (rev 963455)
@@ -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 
+ #include 
++#include 
+ 
+ namespace opencl {
+ namespace kernel {