[arch-commits] Commit in arrayfire/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed May 30 23:21:35 UTC 2018


    Date: Wednesday, May 30, 2018 @ 23:21:34
  Author: svenstaro
Revision: 333573

upgpkg: arrayfire 3.6.0-3

gcc7 rebuild

Modified:
  arrayfire/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-30 23:16:21 UTC (rev 333572)
+++ PKGBUILD	2018-05-30 23:21:34 UTC (rev 333573)
@@ -4,20 +4,24 @@
 url='https://arrayfire.com'
 pkgver=3.6.0
 arch=('x86_64')
-pkgrel=2
+pkgrel=3
 license=('BSD')
-makedepends=('cmake' 'graphviz' 'doxygen' 'opencl-headers' 'glfw' 'glew' 'boost' 'git' 'python' 'ocl-icd' 'cuda' 'nvidia-utils' 'clang' 'openmp')
 depends=('cblas' 'fftw' 'boost-libs' 'lapacke' 'forge' 'freeimage' 'glfw' 'glew' 'glbinding')
+makedepends=('cmake' 'graphviz' 'doxygen' 'opencl-headers' 'boost' 'python' 'ocl-icd' 'cuda' 'git')
 optdepends=('cuda: Required for using CUDA backend'
             'nvidia-utils: Required for using CUDA backend'
             'libclc: Required for using OpenCL backend')
 options=('!buildflags')
-source=("http://arrayfire.com/arrayfire_source/arrayfire-full-${pkgver}.tar.bz2")
-sha512sums=('7d651a29c3ba927a3d6b8d1c461fe21e55bae2a988970c46353a2934855db1c8e150d20763faaccbac2a028b4cb6b19b61bbf3709a1052d8081f34637e686d8b')
+source=("http://arrayfire.com/arrayfire_source/arrayfire-full-${pkgver}.tar.bz2"
+        https://patch-diff.githubusercontent.com/raw/arrayfire/arrayfire/pull/2149.patch)
+sha512sums=('7d651a29c3ba927a3d6b8d1c461fe21e55bae2a988970c46353a2934855db1c8e150d20763faaccbac2a028b4cb6b19b61bbf3709a1052d8081f34637e686d8b'
+            '1ea708e832e3aacc376ab34d30c39ea072303fc0d69b299c743ac18e4612c0947351b7e320bf626c68f93a030dc461043e59c46ad8b9f4a95886c38ab4b3a2d8')
 
 prepare() {
   cd "${srcdir}/arrayfire-full-${pkgver}"
 
+  patch -Np1 -i "${srcdir}/2149.patch"
+
   rm -rf build && mkdir build
 }
 
@@ -25,8 +29,6 @@
   cd "${srcdir}/arrayfire-full-${pkgver}"
 
   cd build
-  export CC=clang
-  export CXX=clang++
   cmake .. \
       -DCMAKE_INSTALL_PREFIX=/usr \
       -DAF_USE_SYSTEM_FORGE=ON \
@@ -39,7 +41,7 @@
       -DAF_BUILD_DOCS=ON \
       -DCUDA_architecture_build_targets="3.0;3.2;3.5;3.7;5.0;5.2;5.3;6.0;6.1;6.2;7.0" \
       -DCMAKE_BUILD_TYPE=Release \
-      -DCUDA_HOST_COMPILER=/usr/bin/gcc-5
+      -DCUDA_HOST_COMPILER=/usr/bin/gcc-7
 
   make
 }



More information about the arch-commits mailing list