[arch-commits] Commit in arrayfire/trunk (PKGBUILD arrayfire-boost-1.76.0.patch)
Konstantin Gizdov
kgizdov at archlinux.org
Fri Jun 11 09:12:26 UTC 2021
Date: Friday, June 11, 2021 @ 09:12:25
Author: kgizdov
Revision: 962042
patch for cuda and boost
Added:
arrayfire/trunk/arrayfire-boost-1.76.0.patch
Modified:
arrayfire/trunk/PKGBUILD
------------------------------+
PKGBUILD | 15 +++++++++++----
arrayfire-boost-1.76.0.patch | 12 ++++++++++++
2 files changed, 23 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-11 08:50:51 UTC (rev 962041)
+++ PKGBUILD 2021-06-11 09:12:25 UTC (rev 962042)
@@ -1,7 +1,7 @@
# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
pkgname=arrayfire
pkgver=3.8.0
-pkgrel=6
+pkgrel=7
pkgdesc="High performance software library for parallel computing with an easy-to-use API"
arch=('x86_64')
url='https://arrayfire.com'
@@ -14,9 +14,16 @@
'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")
-sha512sums=('f36bee89a0f1a0a48ca2cae3a7b2527d63830e3070cb31174ff7f5c42f065aad6981d5142a8b7af7215a3c7dbf67ae13d1ea3543cd94eb70cff509c8cb95c739')
+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}"
@@ -35,7 +42,7 @@
-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 \
+ -DCUDA_HOST_COMPILER=/usr/bin/gcc-10 \
-DBoost_NO_BOOST_CMAKE=ON
ninja -C build
Added: arrayfire-boost-1.76.0.patch
===================================================================
--- arrayfire-boost-1.76.0.patch (rev 0)
+++ arrayfire-boost-1.76.0.patch 2021-06-11 09:12:25 UTC (rev 962042)
@@ -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