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.
This commit is contained in:
parent
2b37fe7a77
commit
84786ebecd
@ -38,13 +38,7 @@ stdenv.mkDerivation {
|
|||||||
# See the explanation in addOpenGLRunpath.
|
# See the explanation in addOpenGLRunpath.
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
for lib in $out/lib/lib*.so; do
|
for lib in $out/lib/lib*.so; do
|
||||||
# patchelf fails on libcudnn_cnn_infer due to it being too big.
|
addOpenGLRunpath $lib
|
||||||
# Most programs will still get the RPATH since they link to
|
|
||||||
# other things.
|
|
||||||
# (https://github.com/NixOS/patchelf/issues/222)
|
|
||||||
if [ "$(basename $lib)" != libcudnn_cnn_infer.so ]; then
|
|
||||||
addOpenGLRunpath $lib
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user