From e94580711b51ca7eebe1f0348885c408d5b0a71d Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Sun, 7 Apr 2019 15:55:54 +0200 Subject: [PATCH] check_submodules: fetch in parallel on CI --- Tools/check_submodules.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/check_submodules.sh b/Tools/check_submodules.sh index f245c9ba0f..be1ce97372 100755 --- a/Tools/check_submodules.sh +++ b/Tools/check_submodules.sh @@ -8,8 +8,8 @@ if [[ -f $1"/.git" || -d $1"/.git" ]]; then # CI environment always update if [ "$CI" == "true" ]; then git submodule --quiet sync --recursive -- $1 - git submodule --quiet update --init --recursive -- $1 || true - git submodule --quiet update --init --recursive -- $1 + git submodule --quiet update --init --recursive --jobs=8 -- $1 || true + git submodule --quiet update --init --recursive --jobs=8 -- $1 exit 0 fi