Skip to content

Commit 48c9ac2

Browse files
committed
Use rust-lang mirror for downloading GCC dependencies
1 parent 48664a6 commit 48c9ac2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

contrib/download_prerequisites

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ mpc='mpc-1.2.1.tar.gz'
3333
isl='isl-0.24.tar.bz2'
3434
gettext='gettext-0.22.tar.gz'
3535

36-
base_url='http://gcc.gnu.org/pub/gcc/infrastructure/'
36+
#base_url='http://gcc.gnu.org/pub/gcc/infrastructure/'
37+
# We use rust-lang mirrors because the GCC infrastructure is unreliable.
38+
# When dependencies are changed, we have to modify our mirrors.
39+
# Please contact t-infra for that.
40+
base_url='https://ci-mirrors.rust-lang.org/rustc/gcc/'
3741

3842
echo_archives() {
3943
echo "${gettext}"
@@ -221,9 +225,6 @@ case $chksum_extension in
221225
;;
222226
esac
223227

224-
[ -e ./gcc/BASE-VER ] \
225-
|| die "You must run this script in the top-level GCC source directory"
226-
227228
[ -d "${directory}" ] \
228229
|| die "No such directory: ${directory}"
229230

0 commit comments

Comments
 (0)