pytorch/cmake
Nikita Shulga e8a73fbf34 Workaround PyTorch debug build crash using old GCC (#47805)
Summary:
gcc-7.4.x or older fails to compile XNNPACK in debug mode with internal compiler error
Workaround this in a build script by pasing -O1 optimisation flag to XNNPACK if compiled on older compilers

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

Pull Request resolved: https://github.com/pytorch/pytorch/pull/47805

Reviewed By: seemethere

Differential Revision: D24905758

Pulled By: malfet

fbshipit-source-id: 93f4e3b3b5c10b69734627c50e36b2eb544699c8
2020-11-11 16:33:47 -08:00
..
External Build EigenBlas as static library (#44747) 2020-09-16 10:25:26 -07:00
Modules Fix LAPACK functionality detection from static OpenBLAS (#46710) 2020-10-26 08:34:28 -07:00
Modules_CUDA_fix [hot fix] cuda 11.0.x doesn't support sm86. (#47408) 2020-11-06 10:34:25 -08:00
public [Build] [CMake] [ROCm] find hsa-runtime64 properly (#45550) 2020-10-20 08:38:32 -07:00
Allowlist.cmake
BuildVariables.cmake
Caffe2Config.cmake.in
Caffe2ConfigVersion.cmake.in
cmake_uninstall.cmake.in
Codegen.cmake Delete Vulkan from code generator. (#46938) 2020-10-29 14:40:54 -07:00
Dependencies.cmake Workaround PyTorch debug build crash using old GCC (#47805) 2020-11-11 16:33:47 -08:00
GoogleTestPatch.cmake
iOS.cmake
MiscCheck.cmake
ProtoBuf.cmake Patch generate files for system protobuf (#44583) 2020-09-29 18:06:33 -07:00
ProtoBufPatch.cmake Patch generate files for system protobuf (#44583) 2020-09-29 18:06:33 -07:00
Summary.cmake [GPU] Introduce USE_PYTORCH_METAL (#46383) 2020-10-16 18:19:32 -07:00
TorchConfig.cmake.in
TorchConfigVersion.cmake.in
Utils.cmake
VulkanCodegen.cmake [vulkan] glsl shaders relaxed precision mode to cmake option (#43076) 2020-09-16 12:51:34 -07:00
VulkanDependencies.cmake