summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-16 16:51:22 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-16 16:51:22 -0300
commit2ed8160498c89ef7051af76ba17a8b316bd6ccb3 (patch)
treecd301df5d82119bc8ffcbfed751065fb70643df0 /libre
parent69a05a5d2789c4e0ff61a670ed0f29e1b10aa4e2 (diff)
downloadabslibre-2ed8160498c89ef7051af76ba17a8b316bd6ccb3.tar.gz
abslibre-2ed8160498c89ef7051af76ba17a8b316bd6ccb3.tar.bz2
abslibre-2ed8160498c89ef7051af76ba17a8b316bd6ccb3.zip
arrayfire-3.4.2-1.parabola1: updating version
Diffstat (limited to 'libre')
-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 \