git.iko.soy/typeable/nixpkgs
on master help sign in
cudnn_cudatoolkit_11: remove libcudnn_cnn_infer.so exception

With the update to CuDNN 8.1, we do not get the "maximum file size exceeded" error anymore when patchelf'ing libcudnn_cnn_infer.so. This change removes the exception for that library.

commit84786ebecd08ca6bf61ebda039ffc608a7f88083 authorDaniël de Kok <me@danieldk.eu> dateSun 14 Feb 2021, 11:15 (6 years ago) parent2b37fe7
1 file changed+1−7
pkgs/development/libraries/science/math/cudnn/generic.nix+1−7
pkgs/development/libraries/science/math/cudnn/generic.nix+1−7
@@ -38,13 +38,7 @@ stdenv.mkDerivation {
3838 # See the explanation in addOpenGLRunpath.
3939 postFixup = ''
4040 for lib in $out/lib/lib*.so; do
41− # patchelf fails on libcudnn_cnn_infer due to it being too big.
42− # Most programs will still get the RPATH since they link to
43− # other things.
44− # (https://github.com/NixOS/patchelf/issues/222)
45− if [ "$(basename $lib)" != libcudnn_cnn_infer.so ]; then
46− addOpenGLRunpath $lib
47− fi
41+ addOpenGLRunpath $lib
4842 done
4943 '';
5044