mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
mxnet: fix cuda support enabled build (#48781)
This commit is contained in:
parent
728c6b7582
commit
a13f5d0da1
@ -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" ])
|
||||
|
Loading…
Reference in New Issue
Block a user