caffe: don't use CUDA by default
CUDA currently requires old GCC. Also, this way Caffe is usable without proprietary blobs.
This commit is contained in:
parent
5a2bb4c992
commit
f1f944f23b
1 changed files with 1 additions and 1 deletions
|
@ -18457,7 +18457,7 @@ with pkgs;
|
|||
### SCIENCE / MATH
|
||||
|
||||
caffe = callPackage ../applications/science/math/caffe rec {
|
||||
cudaSupport = config.caffe.cudaSupport or config.cudaSupport or true;
|
||||
cudaSupport = config.caffe.cudaSupport or config.cudaSupport or false;
|
||||
# CUDA 8 doesn't support GCC 6.
|
||||
stdenv = if cudaSupport then overrideCC pkgs.stdenv gcc5 else pkgs.stdenv;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue