python3Packages.pytorch: fix build
This commit is contained in:
parent
b3b123a104
commit
02648a6cc1
@ -44,6 +44,7 @@ in buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
preConfigure = lib.optionalString cudaSupport ''
|
||||
export CC=${cudatoolkit.cc}/bin/gcc CXX=${cudatoolkit.cc}/bin/g++
|
||||
'' + lib.optionalString (cudaSupport && cudnn != null) ''
|
||||
|
Loading…
Reference in New Issue
Block a user