pytorch/cmake
Wojciech Baranowski 8aa09de19e build: set -DNDEBUG in Release (#32719)
Summary:
This might lead to silent undefined behaviour (e.g. with out-of-bound indices). This affects `test_multinomial_invalid_probs_cuda` which is now removed.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/32719

Test Plan:
* Build with VERBOSE=1 and manually inspect `less ndebug.build.log | grep 'c++' | grep -v -- -DNDEBUG` (only with nina on Linux)
* CI

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

Differential Revision: D20104340

Pulled By: yf225

fbshipit-source-id: 2ebfd7ddae632258a36316999eeb5c968fb7642c
2020-02-26 12:53:31 -08:00
..
External Enable RCCL in ROCm build (#27383) 2019-10-04 17:41:41 -07:00
Modules Fix compilation error when buildng with FFMPEG (#27589) 2020-02-13 11:23:48 -08:00
Modules_CUDA_fix try to find cudnn header in /usr/include/cuda (#31755) 2020-02-04 14:10:32 -08:00
public Don't activate vc env again for cuda with ninja on Windows (#33700) 2020-02-24 21:56:29 -08:00
BuildVariables.cmake [build] Have PyTorch depend on minimal libcaffe2.so instead of libATen.so (#7399) 2018-05-24 07:47:27 -07:00
Caffe2Config.cmake.in Split libtorch.so back into libtorch_{cpu,cuda,hip} (#30315) 2019-12-04 08:04:57 -08:00
Caffe2ConfigVersion.cmake.in CMake changes to make Caffe2 more friendly for dependent libraries 2017-10-19 10:05:32 -07:00
cmake_uninstall.cmake.in move cmake_uninstall.cmake.in into cmake/ subfolder 2017-09-05 10:02:18 -07:00
Codegen.cmake dont force msvc /Ox flag which can conflict with /RTC1 in debug config (#33164) 2020-02-13 22:15:20 -08:00
Dependencies.cmake build: set -DNDEBUG in Release (#32719) 2020-02-26 12:53:31 -08:00
GoogleTestPatch.cmake Fix conda build for Windows (#19824) 2019-04-27 23:10:46 -07:00
iOS.cmake [iOS] Add watchOS support (#33318) 2020-02-14 14:02:22 -08:00
MiscCheck.cmake Remove duplicated Numa detection code. (#30628) 2020-01-03 08:48:46 -08:00
ProtoBuf.cmake Fix Z7_MSVC_OVERRIDE for C source files (#24389) 2019-08-15 06:52:42 -07:00
ProtoBufPatch.cmake Update third_party protobuf to v3.6.1 2019-01-23 09:34:53 -08:00
Summary.cmake [iOS] Add watchOS support (#33318) 2020-02-14 14:02:22 -08:00
TorchConfig.cmake.in Mobile Backend: NHWC memory layout + XNNPACK integration. (#33722) 2020-02-24 21:58:56 -08:00
TorchConfigVersion.cmake.in Build mechanism for custom operators (#10226) 2018-08-16 18:56:17 -07:00
Utils.cmake Pass WERROR to CMake as an explicit parameter rather than an env var. 2019-01-28 20:57:18 -08:00
Whitelist.cmake Add whitelist capability for smaller mobile binaries 2017-03-29 08:47:08 -07:00