summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpingplug2018-05-31 10:14:55 +0800
committerpingplug2018-05-31 10:14:55 +0800
commitb1d9765ae29657a17cec4831a74cc4665a273d66 (patch)
tree2db53d2057791e3e0d94b9d7cd40a1fead1da7b8
parentca9f0f8a48304e35b57f5609faabc99d951e68df (diff)
downloadaur-b1d9765ae29657a17cec4831a74cc4665a273d66.tar.gz
use gcc-7 as cuda does
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e60ac5afdae..30d8a2b4aa8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,11 @@
pkgbase = dlib
pkgdesc = A general purpose cross-platform C++ library designed using contract programming and modern C++ techniques
pkgver = 19.13
- pkgrel = 1
+ pkgrel = 2
url = http://www.dlib.net
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 82bec369646..7ebd95437fa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=dlib
pkgver=19.13
-pkgrel=1
+pkgrel=2
pkgdesc="A general purpose cross-platform C++ library designed using contract programming and modern C++ techniques"
arch=('x86_64')
url="http://www.dlib.net"
@@ -17,7 +17,7 @@ optdepends=('blas: for BLAS support'
'libpng: for PNG support'
'neon: for neon support'
'sqlite: for sqlite support')
-makedepends=('cmake' 'gcc6')
+makedepends=('cmake')
source=("https://downloads.sourceforge.net/project/dclib/${pkgname}/v${pkgver}/${pkgname}-${pkgver}.tar.bz2")
sha256sums=('fe90b94677f837c8f0bcb0bb450b313a422a9171ac682583a75052c58f80ba54')
@@ -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-6' \
+ -DCUDA_HOST_COMPILER='/usr/bin/gcc-7' \
-DCMAKE_BUILD_TYPE=Release \
"../${pkgname}-${pkgver}"
make