diff options
author | Daniel Bermond | 2017-09-03 12:35:40 -0300 |
---|---|---|
committer | Daniel Bermond | 2017-09-03 12:35:40 -0300 |
commit | 435b90090b81b61c5bba1daf352d295f9ba1097c (patch) | |
tree | 13f5f945423a7706b5ff93c191b1e90ebf82a30d /PKGBUILD | |
parent | 296c52abe14e0d0214e43153bc4a725ff06a6b82 (diff) | |
download | aur-435b90090b81b61c5bba1daf352d295f9ba1097c.tar.gz |
Removed NCCL support (it can be enabled by uncommenting the proper lines)
The newly released NCCL version 2 requires registration at the
NVIDIA developer webiste and a manual download. As this breaks
automated builds by AUR helpers, NCCL was disabled by default in
this package. It can still be enabled by uncommenting the proper
lines in the PKGBUILD file (instructions are at the top of the
PKGBUILD file).
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -2,9 +2,13 @@ # Contributor: Drew Noel <drewmnoel@gmail.com> # Contributor: Jonathan Yantis +# NOTE: +# In order to build with NCCL support, uncomment the NCCL +# lines in 'depends' and 'preprare()'. + pkgname=caffe-git _srcname=caffe -pkgver=1.0.r24.g86d451e96 +pkgver=1.0.r25.g1de4cebfb pkgrel=1 pkgdesc="A deep learning framework made with expression, speed, and modularity in mind (git version, gpu enabled)" arch=('x86_64') @@ -20,8 +24,8 @@ depends=( # AUR: # required: 'openblas-lapack' - # not required but enabled in build: - 'nccl' + # not required: + # 'nccl' #python: 'python-leveldb' 'python-scikit-image' 'python-pydotplus' # NOTE: @@ -45,7 +49,7 @@ prepare() { sed -i '/USE_CUDNN/s/^#[[:space:]]//g' Makefile.config # enable NCCL acceleration switch - sed -i '/USE_NCCL/s/^#[[:space:]]//g' Makefile.config + # sed -i '/USE_NCCL/s/^#[[:space:]]//g' Makefile.config # strictly enable I/O dependencies sed -i '/USE_OPENCV/s/^#[[:space:]]//;/USE_OPENCV/s/0/1/' Makefile.config |