Skip to content

Commit

Permalink
Download the crosstool from GitHub instead of crosstool-ng.org
Browse files Browse the repository at this point in the history
Temporary workaround since crosstool-ng.org was down. Consider mirroring
the release tarball as a more permanent solution.
  • Loading branch information
kennytm committed Dec 13, 2017
1 parent 3dfbc88 commit bf0653e
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 bf0653e

Please sign in to comment.