Merge pull request #236793 from GaetanLepage/torch

python3Packages.torch-bin: remove useless patchelf
This commit is contained in:
Weijia Wang 2023-06-09 14:07:35 +03:00 committed by GitHub
commit e8cadb2394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,10 +38,8 @@ in buildPythonPackage {
src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or unsupported; src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or unsupported;
nativeBuildInputs = [ nativeBuildInputs = lib.optionals stdenv.isLinux [
addOpenGLRunpath addOpenGLRunpath
patchelf
] ++ lib.optionals stdenv.isLinux [
autoPatchelfHook autoPatchelfHook
cudaPackages.autoAddOpenGLRunpathHook cudaPackages.autoAddOpenGLRunpathHook
]; ];