mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
In setup.py, also check some submodules of submodules. (#20937)
Summary: Sometimes users forget using the "--recursive" option when they update submodules. This added check should help expose this issue. Pull Request resolved: https://github.com/pytorch/pytorch/pull/20937 Differential Revision: D15502846 Pulled By: mrshenli fbshipit-source-id: 34c28a2c71ee6442d16b8b741ea44a18733b1536
This commit is contained in:
parent
8dbdd00f87
commit
1e8f129a05
4
setup.py
4
setup.py
|
|
@ -288,6 +288,10 @@ def build_deps():
|
|||
check_file(os.path.join(third_party_path, 'foxi', 'CMakeLists.txt'))
|
||||
check_file(os.path.join(third_party_path, 'QNNPACK', 'CMakeLists.txt'))
|
||||
check_file(os.path.join(third_party_path, 'fbgemm', 'CMakeLists.txt'))
|
||||
check_file(os.path.join(third_party_path, 'fbgemm', 'third_party',
|
||||
'asmjit', 'CMakeLists.txt'))
|
||||
check_file(os.path.join(third_party_path, 'onnx', 'third_party',
|
||||
'benchmark', 'CMakeLists.txt'))
|
||||
|
||||
check_pydep('yaml', 'pyyaml')
|
||||
check_pydep('typing', 'typing')
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user