diff options
author | Andrew Anderson | 2018-10-12 09:38:24 +0100 |
---|---|---|
committer | Andrew Anderson | 2018-10-12 09:38:24 +0100 |
commit | bd74a267de3aa12041454c19347fc14bd6988f8b (patch) | |
tree | ac00600344c35463528061ebcd7ef165d5ee1f87 | |
parent | 56cae31f9dbef27e1891dcdf8064fc059e93ea5d (diff) | |
download | aur-bd74a267de3aa12041454c19347fc14bd6988f8b.tar.gz |
Fix boost stuff again
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = caffe-opencl-slim-git pkgdesc = A slimmed-down build of Caffe based on caffe-opencl-git pkgver = 1.0 - pkgrel = 2 + pkgrel = 3 url = http://caffe.berkeleyvision.org/ arch = x86_64 license = BSD @@ -2,7 +2,7 @@ pkgname=caffe-opencl-slim-git _srcname=caffe pkgver=1.0 -pkgrel=2 +pkgrel=3 pkgdesc="A slimmed-down build of Caffe based on caffe-opencl-git" arch=('x86_64') url="http://caffe.berkeleyvision.org/" @@ -26,6 +26,10 @@ sha256sums=('SKIP' prepare() { cd "${_srcname}" + + # This patch makes cmake find libboost_python3 (it normally only looks for libboost_python_py3 etc.) + patch cmake/Dependencies.cmake < ../dependencies.patch + mkdir -p build cd build CMAKE_PARALLEL_LEVEL=`grep processor /proc/cpuinfo | wc -l` cmake -DBUILD_docs=OFF -DUSE_LIBDNN=OFF -DUSE_CUDNN=OFF -DUSE_OPENCV=OFF -DUSE_LEVELDB=OFF -DUSE_LMDB=OFF -DUSE_HDF5=OFF -DBLAS=Open -D python_version=3 -DCMAKE_INSTALL_PREFIX:PATH=${pkgdir}/usr -DCMAKE_INSTALL_LIBDIR=lib .. |