pytorch/tools/setup_helpers
davidriazati@fb.com 48a7d69946 Catch and ignore tracebacks for compilation errors (#55986)
Summary:
The Python traceback on a cmake invocation is meaningless to most developers, so this PR wraps it in a `try..catch` so we can ignore it and save scrolling through the 20-or-so lines.

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

Pulled By: driazati

Reviewed By: wanchaol

Differential Revision: D27769304

fbshipit-source-id: 5889eea03db098d10576290abeeb4600029fb3f2
2021-04-14 13:05:27 -07:00
..
__init__.py
cmake.py Catch and ignore tracebacks for compilation errors (#55986) 2021-04-14 13:05:27 -07:00
env.py
gen.py
gen_version_header.py Generate header with version #defines for LibTorch (#50073) 2021-02-03 22:18:53 -08:00
generate_code.py Update clang-format linux hash and yaml import calls (#53932) 2021-03-18 17:11:58 -07:00
numpy_.py