pytorch/tools/setup_helpers
peterjc123 9a5fd2eb07 Fix conflicts in CMAKE_GENERATOR and generator (#30971)
Summary:
...specified in -G

https://cmake.org/cmake/help/latest/variable/CMAKE_GENERATOR.html
According to the document, the generator could be determined through two methods:
1. Specify in `-G`
2. Read from `CMAKE_GENERATOR`

We should avoid conflicts in these two methods. This fixes https://github.com/pytorch/pytorch/issues/30910.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/30971

Differential Revision: D18927529

Pulled By: mingbowan

fbshipit-source-id: e9a179ceb32d6fbabfaeac6cfe9e6170ca170b20
2019-12-10 22:22:26 -08:00
..
__init__.py Remove escape_path in our build system. (#24044) 2019-08-13 20:38:19 -07:00
cmake.py Fix conflicts in CMAKE_GENERATOR and generator (#30971) 2019-12-10 22:22:26 -08:00
env.py Hotpatch CXXFLAGS to be the same as CFLAGS if CXXFLAGS is not set. (#23568) 2019-08-07 16:25:57 -07:00
generate_code.py custom build script (#30144) 2019-11-20 13:16:02 -08:00
numpy_.py Add more comment on NumPy detection in Python scripts. 2019-11-26 17:38:27 -08:00