mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
CI(tools/scripts): add submodule init and update (#977)
This commit is contained in:
parent
8a40f195bc
commit
38bcc43256
@ -90,6 +90,9 @@ def install_mmdeploy(work_dir, dep_dir, ncnn_cmake_dir):
|
|||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
|
|
||||||
os.chdir(work_dir)
|
os.chdir(work_dir)
|
||||||
|
os.system('git submodule init')
|
||||||
|
os.system('git submodule update')
|
||||||
|
|
||||||
if not os.path.exists('build'):
|
if not os.path.exists('build'):
|
||||||
os.system('mkdir build')
|
os.system('mkdir build')
|
||||||
|
|
||||||
|
@ -35,6 +35,9 @@ def install_mmdeploy(work_dir, ort_dir):
|
|||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
|
|
||||||
os.chdir(work_dir)
|
os.chdir(work_dir)
|
||||||
|
os.system('git submodule init')
|
||||||
|
os.system('git submodule update')
|
||||||
|
|
||||||
if not os.path.exists('build'):
|
if not os.path.exists('build'):
|
||||||
os.system('mkdir build')
|
os.system('mkdir build')
|
||||||
|
|
||||||
|
@ -79,6 +79,9 @@ def install_mmdeploy(work_dir, pplnn_cmake_dir, pplcv_cmake_dir, build_cuda):
|
|||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
|
|
||||||
os.chdir(work_dir)
|
os.chdir(work_dir)
|
||||||
|
os.system('git submodule init')
|
||||||
|
os.system('git submodule update')
|
||||||
|
|
||||||
if not os.path.exists('build'):
|
if not os.path.exists('build'):
|
||||||
os.system('mkdir build')
|
os.system('mkdir build')
|
||||||
|
|
||||||
|
@ -61,6 +61,9 @@ def install_mmdeploy(work_dir, libtorch_dir):
|
|||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
|
|
||||||
os.chdir(work_dir)
|
os.chdir(work_dir)
|
||||||
|
os.system('git submodule init')
|
||||||
|
os.system('git submodule update')
|
||||||
|
|
||||||
if not os.path.exists('build'):
|
if not os.path.exists('build'):
|
||||||
os.system('mkdir build')
|
os.system('mkdir build')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user