cntk: fix build without CUDA
This commit is contained in:
parent
0e086dd1c1
commit
7f1b8d744f
1 changed files with 2 additions and 2 deletions
|
@ -42,10 +42,10 @@ in stdenv.mkDerivation rec {
|
|||
"--with-boost=${boost.dev}"
|
||||
"--with-protobuf=${protobuf}"
|
||||
"--with-mpi=${openmpi}"
|
||||
] ++ lib.optionals cudaSupport [
|
||||
"--cuda=yes"
|
||||
"--cuda=${if cudaSupport then "yes" else "no"}"
|
||||
# FIXME
|
||||
"--asgd=no"
|
||||
] ++ lib.optionals cudaSupport [
|
||||
"--with-cuda=${cudatoolkit}"
|
||||
"--with-gdk-include=${cudatoolkit}/include"
|
||||
"--with-gdk-nvml-lib=${nvidia_x11}/lib"
|
||||
|
|
Loading…
Reference in a new issue