summaryrefslogtreecommitdiff
path: root/libre/arrayfire
diff options
context:
space:
mode:
Diffstat (limited to 'libre/arrayfire')
-rw-r--r--libre/arrayfire/PKGBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/libre/arrayfire/PKGBUILD b/libre/arrayfire/PKGBUILD
index 6601ded8f..459cddbaa 100644
--- a/libre/arrayfire/PKGBUILD
+++ b/libre/arrayfire/PKGBUILD
@@ -3,18 +3,18 @@
pkgname=arrayfire
pkgdesc="High performance software library for parallel computing with an easy-to-use API, without nonfree cuda and nvidia-utils support and nonfree SIFT algorithm"
url='http://arrayfire.com'
-pkgver=3.4.0
+pkgver=3.4.2
arch=('i686' 'x86_64' 'armv7h')
pkgrel=1.parabola1
license=('BSD')
-makedepends=('cmake' 'graphviz' 'doxygen' 'opencl-headers' 'glfw' 'glew' 'boost' 'git' 'python')
+makedepends=('cmake' 'graphviz' 'doxygen' 'opencl-headers' 'glfw' 'glew' 'boost' 'git' 'python' 'gcc5')
depends=('cblas' 'fftw' 'boost-libs' 'lapacke' 'forge' 'freeimage' 'glfw' 'glew')
optdepends=('libclc: Required for using OpenCL backend')
mksource=(http://arrayfire.com/arrayfire_source/arrayfire-full-${pkgver}.tar.bz2)
source=(https://repo.parabola.nu/other/${pkgname}-libre/${pkgname}-libre-full-${pkgver}.tar.bz2
remove-nonfree-references.patch)
-mkmd5sums=('f9330906c122007287e092c9282c0f97')
-md5sums=('830fab3295a7c682be63a43eaf2bdf92'
+mkmd5sums=('0900c4eaa0d0780f78e1ce5218490104')
+md5sums=('e09960a144fd12816b4cd112e8af7cd7'
'5b6a5dcb4461aa2b7b5369294836fe7c')
check() {
@@ -25,7 +25,7 @@ check() {
}
mksource() {
- cd "${srcdir}/arrayfire-full-${pkgver}/"
+ cd "${srcdir}/arrayfire-full-${pkgver}"
# remove nonfree SIFT algorithm that is patented in some countries and have some other limitations on the use
rm -v src/backend/cuda/kernel/sift_nonfree.hpp
@@ -35,7 +35,7 @@ mksource() {
}
prepare() {
- cd "${srcdir}/arrayfire-full-${pkgver}/"
+ cd "${srcdir}/arrayfire-full-${pkgver}"
# remove nonfree reference/recommendation stuff
rm -rv CMakeModules/osx_install
@@ -44,7 +44,6 @@ prepare() {
rm -v CMakeModules/CUDACheckCompute.cmake
rm -v CMakeModules/cuda_compute_capability.cpp
rm -v assets/CUDA.png
- rm -v docs/pages/INSTALL.md
rm -v docs/pages/using_on_osx.md
rm -v docs/pages/using_on_windows.md
rm -v include/af/cuda.h
@@ -59,11 +58,13 @@ prepare() {
}
build() {
- cd "${srcdir}/arrayfire-full-${pkgver}/"
+ cd "${srcdir}/arrayfire-full-${pkgver}"
rm -rf build
mkdir build && cd build
+ export CC=gcc-5
+ export CXX=g++-5
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DUSE_SYSTEM_FORGE=ON \