summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpingplug2018-05-04 16:51:28 +0800
committerpingplug2018-05-04 16:51:28 +0800
commit68c03678ea3d6538d29550609da9560ede4ff936 (patch)
tree642ad56493fd2509cb4f39f23578ccd401cdb34d
parent40b8f5c788d15ba42d7d1c44d88605bff384942c (diff)
downloadaur-68c03678ea3d6538d29550609da9560ede4ff936.tar.gz
should use gcc6
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a0a8482c7dd..af82a683f6f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,6 +6,7 @@ pkgbase = dlib
arch = x86_64
license = custom
makedepends = cmake
+ makedepends = gcc6
optdepends = blas: for BLAS support
optdepends = cuda: for CUDA support
optdepends = cudnn: for CUDNN support
diff --git a/PKGBUILD b/PKGBUILD
index 0af1ad8da13..efd5fef6b1d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,7 @@ optdepends=('blas: for BLAS support'
'libpng: for PNG support'
'neon: for neon support'
'sqlite: for sqlite support')
-makedepends=('cmake')
+makedepends=('cmake' 'gcc6')
source=("https://downloads.sourceforge.net/project/dclib/${pkgname}/v${pkgver}/${pkgname}-${pkgver}.tar.bz2")
sha256sums=('a0470f978125eea13076aa9557bf0e4990a030ad8de972225dba46b45b3b3bd1')
@@ -31,7 +31,7 @@ build() {
-DUSE_AVX_INSTRUCTIONS:BOOL=ON \
-DUSE_SSE2_INSTRUCTIONS:BOOL=ON \
-DUSE_SSE4_INSTRUCTIONS:BOOL=ON \
- -DCUDA_HOST_COMPILER='/usr/bin/gcc-5' \
+ -DCUDA_HOST_COMPILER='/usr/bin/gcc-6' \
-DCMAKE_BUILD_TYPE=Release \
"../${pkgname}-${pkgver}"
make