python-torch/skip-third-party-check.patch

18 lines
946 B
Diff
Raw Normal View History

--- pytorch-1.9.0/setup.py.orig 2021-07-22 11:29:23.485565837 +0000
+++ pytorch-1.9.0/setup.py 2021-07-22 12:04:17.690981402 +0000
@@ -340,10 +340,10 @@ def check_submodules():
sys.exit(1)
for folder in folders:
check_for_files(folder, ["CMakeLists.txt", "Makefile", "setup.py", "LICENSE"])
- check_for_files(os.path.join(third_party_path, 'fbgemm', 'third_party',
- 'asmjit'), ['CMakeLists.txt'])
- check_for_files(os.path.join(third_party_path, 'onnx', 'third_party',
- 'benchmark'), ['CMakeLists.txt'])
+ #check_for_files(os.path.join(third_party_path, 'fbgemm', 'third_party',
+ #'asmjit'), ['CMakeLists.txt'])
+ #check_for_files(os.path.join(third_party_path, 'onnx', 'third_party',
+ #'benchmark'), ['CMakeLists.txt'])
# all the work we need to do _before_ setup runs