From f1f944f23b88b715f8e95844bea8451fcea83776 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Sun, 3 Sep 2017 17:47:53 +0300 Subject: [PATCH] caffe: don't use CUDA by default CUDA currently requires old GCC. Also, this way Caffe is usable without proprietary blobs. --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e4d2adb19c70..72b0d08b7671 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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; };