diff options
author | pingplug | 2018-05-31 10:14:55 +0800 |
---|---|---|
committer | pingplug | 2018-05-31 10:14:55 +0800 |
commit | b1d9765ae29657a17cec4831a74cc4665a273d66 (patch) | |
tree | 2db53d2057791e3e0d94b9d7cd40a1fead1da7b8 | |
parent | ca9f0f8a48304e35b57f5609faabc99d951e68df (diff) | |
download | aur-b1d9765ae29657a17cec4831a74cc4665a273d66.tar.gz |
use gcc-7 as cuda does
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 5 deletions
@@ -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 @@ -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 |