File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
mipsel-unknown-linux-musl Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ RUN mkdir /toolchain
88
99# Note that this originally came from:
1010# https://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/OpenWrt-SDK-ar71xx-generic_gcc-5.3.0_musl-1.1.15.Linux-x86_64.tar.bz2
11- RUN curl --retry 5 -L https://s3-us-west-1.amazonaws.com/rust-lang-ci2 /libc/OpenWrt-SDK-ar71xx-generic_gcc-5.3.0_musl-1.1.15.Linux-x86_64.tar.bz2 | \
11+ RUN curl --retry 5 -L https://rust-lang-ci-mirrors. s3-us-west-1.amazonaws.com/libc/OpenWrt-SDK-ar71xx-generic_gcc-5.3.0_musl-1.1.15.Linux-x86_64.tar.bz2 | \
1212 tar xjf - -C /toolchain --strip-components=1
1313
1414ENV PATH=$PATH:/rust/bin:/toolchain/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.15/bin \
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ RUN mkdir /toolchain
88
99# Note that this originally came from:
1010# https://downloads.openwrt.org/snapshots/trunk/malta/generic/OpenWrt-Toolchain-malta-le_gcc-5.3.0_musl-1.1.15.Linux-x86_64.tar.bz2
11- RUN curl --retry 5 -L https://s3-us-west-1.amazonaws.com/rust-lang-ci2 /libc/OpenWrt-Toolchain-malta-le_gcc-5.3.0_musl-1.1.15.Linux-x86_64.tar.bz2 | \
11+ RUN curl --retry 5 -L https://rust-lang-ci-mirrors. s3-us-west-1.amazonaws.com/libc/OpenWrt-Toolchain-malta-le_gcc-5.3.0_musl-1.1.15.Linux-x86_64.tar.bz2 | \
1212 tar xjf - -C /toolchain --strip-components=2
1313
1414ENV PATH=$PATH:/rust/bin:/toolchain/bin \
Original file line number Diff line number Diff line change 55
66set -ex
77
8+ MIRRORS_URL=" https://rust-lang-ci-mirrors.s3-us-west-1.amazonaws.com/libc"
9+
810TARGET=" ${1} "
911
1012# If we're going to run tests inside of a qemu image, then we don't need any of
@@ -21,21 +23,21 @@ if [ "$QEMU" != "" ]; then
2123 # image is .gz : download and uncompress it
2224 qemufile=" $( echo " ${QEMU% .gz} " | sed ' s/\//__/g' ) "
2325 if [ ! -f " ${tmpdir} /${qemufile} " ]; then
24- curl --retry 5 " https://s3-us-west-1.amazonaws.com/rust-lang-ci2/libc /${QEMU} " | \
26+ curl --retry 5 " ${MIRRORS_URL} /${QEMU} " | \
2527 gunzip -d > " ${tmpdir} /${qemufile} "
2628 fi
2729 elif [ -z " ${QEMU#* .xz} " ]; then
2830 # image is .xz : download and uncompress it
2931 qemufile=" $( echo " ${QEMU% .xz} " | sed ' s/\//__/g' ) "
3032 if [ ! -f " ${tmpdir} /${qemufile} " ]; then
31- curl --retry 5 " https://s3-us-west-1.amazonaws.com/rust-lang-ci2/libc /${QEMU} " | \
33+ curl --retry 5 " ${MIRRORS_URL} /${QEMU} " | \
3234 unxz > " ${tmpdir} /${qemufile} "
3335 fi
3436 else
3537 # plain qcow2 image: just download it
3638 qemufile=" $( echo " ${QEMU} " | sed ' s/\//__/g' ) "
3739 if [ ! -f " ${tmpdir} /${qemufile} " ]; then
38- curl --retry 5 " https://s3-us-west-1.amazonaws.com/rust-lang-ci2/libc/ ${QEMU} " \
40+ curl --retry 5 " ${MIRRORS_URL} / ${QEMU} " | \
3941 > " ${tmpdir} /${qemufile} "
4042 fi
4143 fi
You can’t perform that action at this time.
0 commit comments