pytorch
070a30b2 - [BE] add warning message to cmake against env var "-std=c++xx" (#50491)

Commit
3 years ago
[BE] add warning message to cmake against env var "-std=c++xx" (#50491) Summary: this was discovered when working on https://github.com/pytorch/pytorch/issues/50230. environment variables such as CXXFLAGS="-std=c++17" will not work because we use CMAKE_CXX_STANDARD 14. Adding this warning to alert users when environment variable was set. See: [CMake env var usage](https://cmake.org/cmake/help/latest/manual/cmake-env-variables.7.html#id4) and [CXXFLAGS usage](https://cmake.org/cmake/help/latest/envvar/CXXFLAGS.html) for more details. Pull Request resolved: https://github.com/pytorch/pytorch/pull/50491 Reviewed By: mrshenli Differential Revision: D25907851 Pulled By: walterddr fbshipit-source-id: 5af5eec76f79f9d35456af1f2663cafbc54e7dc8
Author
Parents
Loading