disable fast submodule checkout due to spurious ci failures

This commit is contained in:
Pietro Albini 2023-01-10 16:06:19 +01:00
parent 0442fbabe2
commit 04acc1d9dc
No known key found for this signature in database
GPG Key ID: CD76B35F7734769E
1 changed files with 8 additions and 7 deletions

View File

@ -36,7 +36,8 @@ function fetch_github_commit_archive {
rm $cached
}
included="src/llvm-project src/doc/book src/doc/rust-by-example"
#included="src/llvm-project src/doc/book src/doc/rust-by-example"
included=""
modules="$(git config --file .gitmodules --get-regexp '\.path$' | cut -d' ' -f2)"
modules=($modules)
use_git=""
@ -60,9 +61,9 @@ done
retry sh -c "git submodule deinit -f $use_git && \
git submodule sync && \
git submodule update -j 16 --init --recursive --depth 1 $use_git"
STATUS=0
for pid in ${bg_pids[*]}
do
wait $pid || STATUS=1
done
exit ${STATUS}
#STATUS=0
#for pid in ${bg_pids[*]}
#do
# wait $pid || STATUS=1
#done
#exit ${STATUS}