Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use retry for downloading clang tools #336

Merged
merged 1 commit into from
Aug 23, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function download_tools {
if validate_url ${clangFormatUrl} > /dev/null; then
echo "Downloading clang-format to bin directory"
# download appropriate version of clang-format
wget --progress=dot:giga ${clangFormatUrl} -O bin/clang-format
wget --tries 4 --progress=dot:giga ${clangFormatUrl} -O bin/clang-format
chmod 751 bin/clang-format
else
echo "clang-format not found here: ${clangFormatUrl}"
Expand All @@ -86,7 +86,7 @@ function download_tools {
if validate_url ${clangTidyUrl} > /dev/null; then
echo "Downloading clang-tidy to bin directory"
# download appropriate version of clang-tidy
wget --progress=dot:giga ${clangTidyUrl} -O bin/clang-tidy
wget --tries 4 --progress=dot:giga ${clangTidyUrl} -O bin/clang-tidy
chmod 751 bin/clang-tidy
else
echo "clang-tidy not found here: ${clangTidyUrl}"
Expand Down