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

View File

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