Date: Tuesday, October 3, 2017 @ 10:20:36
  Author: svenstaro
Revision: 261368

upgpkg: arrayfire 3.5.1-1

Modified:
  arrayfire/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-10-03 10:19:02 UTC (rev 261367)
+++ PKGBUILD    2017-10-03 10:20:36 UTC (rev 261368)
@@ -2,11 +2,11 @@
 pkgname=arrayfire
 pkgdesc="High performance software library for parallel computing with an 
easy-to-use API"
 url='https://arrayfire.com'
-pkgver=3.5.0
+pkgver=3.5.1
 arch=('x86_64')
-pkgrel=4
+pkgrel=1
 license=('BSD')
-makedepends=('cmake' 'graphviz' 'doxygen' 'opencl-headers' 'glfw' 'glew' 
'boost' 'git' 'python' 'gcc5' 'ocl-icd')
+makedepends=('cmake' 'graphviz' 'doxygen' 'opencl-headers' 'glfw' 'glew' 
'boost' 'git' 'python' 'ocl-icd' 'gcc6')
 makedepends_x86_64=('cuda' 'nvidia-utils')
 depends=('cblas' 'fftw' 'boost-libs' 'lapacke' 'forge' 'freeimage' 'glfw' 
'glew')
 optdepends=('cuda: Required for using CUDA backend'
@@ -14,12 +14,13 @@
             'libclc: Required for using OpenCL backend')
 options=('!buildflags')
 
source=("http://arrayfire.com/arrayfire_source/arrayfire-full-${pkgver}.tar.bz2";)
-sha512sums=('cf33ee9312724849bec4ed9573dfe9a9504520b7a5e8b45b9e022beab6a7cf14f00b978cb954bdd498dd70626913c40a72277e29b6b792da29cf5daf5c04e1d7')
+sha512sums=('e9d696e8fa9d9c9a89497d6f0615cb2bdf8583237193ae354a365bbcb403891279795a65a03c364cadf9403b7a62412a1b6b5c5eee2f2e763329d1e3a6954c52')
 
 prepare() {
   cd "${srcdir}/arrayfire-full-${pkgver}"
 
   # patches here
+  sed -i "/NVCC does not support GCC version 6.0/d" 
src/backend/cuda/CMakeLists.txt
 }
 
 build() {
@@ -28,12 +29,12 @@
   rm -rf build
   mkdir build && cd build
 
-  export CC=gcc-5
-  export CXX=g++-5
+  export CC=gcc-6
+  export CXX=g++-6
   cmake .. \
       -DCMAKE_INSTALL_PREFIX=/usr \
       -DUSE_SYSTEM_FORGE=ON \
-      -DCOMPUTES_DETECTED_LIST="30;32;35;50;52;53;60;61" \
+      -DCOMPUTES_DETECTED_LIST="30;32;35;37;50;52;53;60;61;62" \
       -DBUILD_CPU=ON \
       -DBUILD_OPENCL=ON \
       -DBUILD_NONFREE=ON \

Reply via email to