mxnet: fix cuda support enabled build (#48781)

This commit is contained in:
Julien Dehos 2019-04-12 12:31:22 +02:00 committed by Joachim F
parent 728c6b7582
commit a13f5d0da1

View File

@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
cmakeFlags =
(if cudaSupport then [
"-DUSE_OLDCMAKECUDA=ON" # see https://github.com/apache/incubator-mxnet/issues/10743
"-DCUDA_ARCH_NAME=All"
"-DCUDA_HOST_COMPILER=${cudatoolkit.cc}/bin/cc"
] else [ "-DUSE_CUDA=OFF" ])