Skip to content

Commit

Permalink
Auto merge of #46715 - kennytm:download-crosstool-ng-from-github, r=T…
Browse files Browse the repository at this point in the history
…imNN

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.
  • Loading branch information
bors committed Dec 13, 2017
2 parents 3dfbc88 + bf0653e commit f8af59d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/ci/docker/scripts/crosstool-ng.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@

set -ex

url="http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-1.22.0.tar.bz2"
curl -f $url | tar xjf -
cd crosstool-ng
url="https://github.com/crosstool-ng/crosstool-ng/archive/crosstool-ng-1.22.0.tar.gz"
curl -Lf $url | tar xzf -
cd crosstool-ng-crosstool-ng-1.22.0
./bootstrap
./configure --prefix=/usr/local
make -j$(nproc)
make install
cd ..
rm -rf crosstool-ng
rm -rf crosstool-ng-crosstool-ng-1.22.0

0 comments on commit f8af59d

Please sign in to comment.