You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aur-caffe-ssd/PKGBUILD

33 lines
904 B

# Maintainer: Micah Chambers <micahc.vt@gmail.com>
pkgname=caffe
pkgver=rc2
pkgrel=1
pkgdesc="Neural network toolkit"
arch=('i686' 'x86_64')
url="https://github.com/BVLC/caffe"
license=('BSD')
groups=('base-devel')
depends=('atlas-lapack-base' 'hdf5' 'opencv' 'boost' 'protobuf' 'google-glog'
'gflags' 'leveldb' 'snappy' 'lmdb')
makedepends=('git')
optdepends=('cuda: for GPU support')
source=("https://github.com/BVLC/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('55c9c20870b30ce398e19e4f1a62ade1eff08fce51e28fa5604035b711978eec')
build() {
cd "$srcdir/$pkgname-$pkgver"
rm -fr build
mkdir build
cd build
cmake ../ -DAtlas_LAPACK_LIBRARY=/usr/lib64/libatlas.so \
-DAtlas_BLAS_LIBRARY=/usr/lib64/libatlas.so \
-DCMAKE_INSTALL_PREFIX=$pkgdir/usr/
make
}
package() {
cd "$srcdir/$pkgname-$pkgver/build"
make install
}