mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Summary: This means warnings and errors fire sooner rather than later. This requires a fix for an issue where CMAKE_REQUIRED_FLAGS propagates to some unrelated check, which then fails, because the Android compiler doesn't support -mavx2. Closes https://github.com/caffe2/caffe2/pull/1646 Differential Revision: D6620129 Pulled By: pietern fbshipit-source-id: 4d1185406ebee3a523d39811bca6783bee82c898