pytorch/cmake
Nikita Shulga de4c9ecc35 Fix libnvrtc discoverability in package patched by auditwheel (#52184)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/52184

`auditwheel` inserts first 8 symbols of sha256 checksum of the library before relocating into the wheel package. This change adds logic for computing the same short sha sum and embedding it into LazyNVRTC as alternative name for libnvrt.so

Fixes https://github.com/pytorch/pytorch/issues/52075

Test Plan: Imported from OSS

Reviewed By: seemethere

Differential Revision: D26417403

Pulled By: malfet

fbshipit-source-id: e366dd22e95e219979f6c2fa39acb11585b34c72
2021-02-13 19:38:27 -08:00
..
External add additional arm64 checker in cmake files (#48952) 2020-12-11 08:10:09 -08:00
Modules Enables build with oneDNN (MKL-DNN) on AArch64 (#50400) 2021-01-13 08:41:44 -08:00
Modules_CUDA_fix initial commit to enable fast_nvcc (#49773) 2021-01-19 14:50:54 -08:00
public Fix libnvrtc discoverability in package patched by auditwheel (#52184) 2021-02-13 19:38:27 -08:00
Allowlist.cmake Replace whitelist with allowlist (#42067) 2020-07-28 08:01:16 -07:00
BuildVariables.cmake Remove Caffe2_MAIN_LIBS (#38408) 2020-05-15 12:27:15 -07:00
Caffe2Config.cmake.in Formatting cmake (to lowercase without space for if/elseif/else/endif) (#35521) 2020-03-27 14:25:17 -07:00
Caffe2ConfigVersion.cmake.in Formatting cmake (to lowercase without space for if/elseif/else/endif) (#35521) 2020-03-27 14:25:17 -07:00
cmake_uninstall.cmake.in Formatting cmake (to lowercase without space for if/elseif/else/endif) (#35521) 2020-03-27 14:25:17 -07:00
Codegen.cmake Vsx initial support issue27678 (#41541) 2020-12-10 13:42:39 -08:00
DebugHelper.cmake Add debug helper function to check target property (#52093) 2021-02-11 15:37:14 -08:00
Dependencies.cmake [ROCm] add hipMAGMA support (#51238) 2021-02-01 22:09:33 -08:00
GoogleTestPatch.cmake
iOS.cmake Fix warning when running scripts/build_ios.sh (#49457) 2021-01-11 19:31:32 -08:00
Metal.cmake [GPU] Enable Metal on macosx (#47635) 2020-11-17 14:44:34 -08:00
MiscCheck.cmake Fix warning when running scripts/build_ios.sh (#49457) 2021-01-11 19:31:32 -08:00
ProtoBuf.cmake Renaming CAFFE2_API to TORCH_API (#49496) 2020-12-18 10:54:50 -08:00
ProtoBufPatch.cmake Patch generate files for system protobuf (#44583) 2020-09-29 18:06:33 -07:00
Summary.cmake Add build option to split torch_cuda library into torch_cuda_cu and torch_cuda_cpp (#49050) 2021-02-01 18:42:35 -08:00
TorchConfig.cmake.in Issue #48724. Only set the CMake IMPORTED_LOCATION property in static… (#49173) 2021-01-20 09:23:27 -08:00
TorchConfigVersion.cmake.in Formatting cmake (to lowercase without space for if/elseif/else/endif) (#35521) 2020-03-27 14:25:17 -07:00
VulkanCodegen.cmake [vulkan] glsl shaders relaxed precision mode to cmake option (#43076) 2020-09-16 12:51:34 -07:00
VulkanDependencies.cmake Search on system path for Vulkan headers and libraries as a last resort. (#43301) 2020-08-20 21:14:09 -07:00