Skip to content

Commit f8af59d

Browse files
committed
Auto merge of #46715 - kennytm:download-crosstool-ng-from-github, r=TimNN
Download crosstool-ng from GitHub Workaround the current problem where http://crosstool-ng.org was done, causing all non-x86 jobs to fail spuriously (cc #40474). If http://crosstool-ng.org becomes online before this PR is merged, this PR should be closed and the tree should be reopened.
2 parents 3dfbc88 + bf0653e commit f8af59d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/ci/docker/scripts/crosstool-ng.sh

+5-4
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@
1010

1111
set -ex
1212

13-
url="http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-1.22.0.tar.bz2"
14-
curl -f $url | tar xjf -
15-
cd crosstool-ng
13+
url="https://github.com/crosstool-ng/crosstool-ng/archive/crosstool-ng-1.22.0.tar.gz"
14+
curl -Lf $url | tar xzf -
15+
cd crosstool-ng-crosstool-ng-1.22.0
16+
./bootstrap
1617
./configure --prefix=/usr/local
1718
make -j$(nproc)
1819
make install
1920
cd ..
20-
rm -rf crosstool-ng
21+
rm -rf crosstool-ng-crosstool-ng-1.22.0

0 commit comments

Comments
 (0)