]> git.lizzy.rs Git - rust.git/blob - src/ci/docker/scripts/crosstool-ng-1.24.sh
Auto merge of #93718 - thomcc:used-macho, r=pnkfelix
[rust.git] / src / ci / docker / scripts / crosstool-ng-1.24.sh
1 #!/bin/sh
2 set -ex
3
4 # Mirrored from https://github.com/crosstool-ng/crosstool-ng/archive/crosstool-ng-1.24.0.tar.gz
5 url="https://ci-mirrors.rust-lang.org/rustc/crosstool-ng-1.24.0.tar.gz"
6 curl -Lf $url | tar xzf -
7 cd crosstool-ng-crosstool-ng-1.24.0
8 ./bootstrap
9 ./configure --prefix=/usr/local
10 make -j$(nproc)
11 make install
12 cd ..
13 rm -rf crosstool-ng-crosstool-ng-1.24.0