File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
cuda-modules/generic-builders
python-modules/torch/source Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 8181 redistArch = flags . getRedistArch hostPlatform . system ;
8282
8383 preferable =
84- p1 : p2 : ( isSupported p2 -> isSupported p1 ) && ( strings . versionAtLeast p1 . version p2 . version ) ;
84+ p1 : p2 : ( isSupported p2 -> isSupported p1 ) && ( strings . versionOlder p2 . version p1 . version ) ;
8585
8686 # All the supported packages we can build for our platform.
8787 # perSystemReleases :: List Package
Original file line number Diff line number Diff line change @@ -364,7 +364,7 @@ buildPythonPackage rec {
364364 ''
365365 + lib . optionalString ( cudaSupport && cudaPackages ? cudnn ) ''
366366 export CUDNN_INCLUDE_DIR=${ lib . getLib cudnn } /include
367- export CUDNN_LIB_DIR=${ cudnn . lib } /lib
367+ export CUDNN_LIB_DIR=${ lib . getLib cudnn } /lib
368368 ''
369369 + lib . optionalString rocmSupport ''
370370 export ROCM_PATH=${ rocmtoolkit_joined }
You can’t perform that action at this time.
0 commit comments