mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 21:33:35 +08:00
Tools/check_submodules.sh disable parallel jobs
- this is already run separately for each submodule (potentially in parallel)
This commit is contained in:
@@ -7,10 +7,10 @@ if [[ -f $1"/.git" || -d $1"/.git" ]]; then
|
|||||||
|
|
||||||
# always update within CI environment or configuring withing VSCode CMake where you can't interact
|
# always update within CI environment or configuring withing VSCode CMake where you can't interact
|
||||||
if [ "$CI" == "true" ] || [ -n "${VSCODE_PID+set}" ]; then
|
if [ "$CI" == "true" ] || [ -n "${VSCODE_PID+set}" ]; then
|
||||||
git submodule --quiet update --init --recursive --force --jobs=4 -- $1 || true
|
git submodule --quiet update --init --recursive --force -- $1 || true
|
||||||
git submodule --quiet sync --recursive -- $1
|
git submodule --quiet sync --recursive -- $1
|
||||||
git submodule --quiet update --init --recursive --force --jobs=4 -- $1 || true
|
git submodule --quiet update --init --recursive --force -- $1 || true
|
||||||
git submodule --quiet update --init --recursive --force --jobs=4 -- $1
|
git submodule --quiet update --init --recursive --force -- $1
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -50,10 +50,10 @@ if [[ -f $1"/.git" || -d $1"/.git" ]]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
git submodule --quiet update --init --recursive --jobs=4 -- $1 || true
|
git submodule --quiet update --init --recursive -- $1 || true
|
||||||
git submodule --quiet sync --recursive -- $1
|
git submodule --quiet sync --recursive -- $1
|
||||||
git submodule --quiet update --init --recursive --jobs=4 -- $1 || true
|
git submodule --quiet update --init --recursive -- $1 || true
|
||||||
git submodule --quiet update --init --recursive --jobs=4 -- $1
|
git submodule --quiet update --init --recursive -- $1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user