Check that new cpuinfo and tbb submodules exist (#5714)
diff --git a/setup.py b/setup.py
index ac19a65..b4941ec 100644
--- a/setup.py
+++ b/setup.py
@@ -252,7 +252,8 @@
sys.exit(1)
check_file(os.path.join(lib_path, "gloo", "CMakeLists.txt"))
check_file(os.path.join(lib_path, "nanopb", "CMakeLists.txt"))
- check_file(os.path.join(lib_path, "pybind11", "CMakeLists.txt"))
+ check_file(os.path.join('aten', 'src', 'ATen', 'cpu', 'cpuinfo', 'CMakeLists.txt'))
+ check_file(os.path.join('aten', 'src', 'ATen', 'cpu', 'tbb', 'tbb_remote', 'Makefile'))
check_pydep('yaml', 'pyyaml')
check_pydep('typing', 'typing')