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.
This commit is contained in:
commit
f8af59d952
1 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue