Verify that 'catch' submodule has been checked out before attempting build. (#5941)

This commit is contained in:
Jon Malmaud
2018-03-22 11:28:04 -04:00
committed by Soumith Chintala
parent 2a02ec6537
commit add04c56bf

View File

@ -255,6 +255,7 @@ class build_deps(Command):
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_file(os.path.join('aten', 'src', 'ATen', 'utils', 'catch', 'CMakeLists.txt'))
check_pydep('yaml', 'pyyaml')
check_pydep('typing', 'typing')