mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-15 08:23:26 +00:00
ci: upgrade to crosstool-ng 1.27.0
This commit is contained in:
parent
6741521dc4
commit
ed2823c6ef
@ -3,8 +3,8 @@ FROM ubuntu:22.04
|
|||||||
COPY scripts/cross-apt-packages.sh /scripts/
|
COPY scripts/cross-apt-packages.sh /scripts/
|
||||||
RUN sh /scripts/cross-apt-packages.sh
|
RUN sh /scripts/cross-apt-packages.sh
|
||||||
|
|
||||||
COPY scripts/crosstool-ng-git.sh /scripts/
|
COPY scripts/crosstool-ng.sh /scripts/
|
||||||
RUN sh /scripts/crosstool-ng-git.sh
|
RUN sh /scripts/crosstool-ng.sh
|
||||||
|
|
||||||
COPY scripts/rustbuild-setup.sh /scripts/
|
COPY scripts/rustbuild-setup.sh /scripts/
|
||||||
RUN sh /scripts/rustbuild-setup.sh
|
RUN sh /scripts/rustbuild-setup.sh
|
||||||
|
@ -3,8 +3,8 @@ FROM ubuntu:22.04
|
|||||||
COPY scripts/cross-apt-packages.sh /scripts/
|
COPY scripts/cross-apt-packages.sh /scripts/
|
||||||
RUN sh /scripts/cross-apt-packages.sh
|
RUN sh /scripts/cross-apt-packages.sh
|
||||||
|
|
||||||
COPY scripts/crosstool-ng-git.sh /scripts/
|
COPY scripts/crosstool-ng.sh /scripts/
|
||||||
RUN sh /scripts/crosstool-ng-git.sh
|
RUN sh /scripts/crosstool-ng.sh
|
||||||
|
|
||||||
COPY scripts/rustbuild-setup.sh /scripts/
|
COPY scripts/rustbuild-setup.sh /scripts/
|
||||||
RUN sh /scripts/rustbuild-setup.sh
|
RUN sh /scripts/rustbuild-setup.sh
|
||||||
|
@ -3,8 +3,8 @@ FROM ubuntu:22.04
|
|||||||
COPY scripts/cross-apt-packages.sh /scripts/
|
COPY scripts/cross-apt-packages.sh /scripts/
|
||||||
RUN sh /scripts/cross-apt-packages.sh
|
RUN sh /scripts/cross-apt-packages.sh
|
||||||
|
|
||||||
COPY scripts/crosstool-ng-git.sh /scripts/
|
COPY scripts/crosstool-ng.sh /scripts/
|
||||||
RUN sh /scripts/crosstool-ng-git.sh
|
RUN sh /scripts/crosstool-ng.sh
|
||||||
|
|
||||||
COPY scripts/rustbuild-setup.sh /scripts/
|
COPY scripts/rustbuild-setup.sh /scripts/
|
||||||
RUN sh /scripts/rustbuild-setup.sh
|
RUN sh /scripts/rustbuild-setup.sh
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
URL=https://github.com/crosstool-ng/crosstool-ng
|
|
||||||
REV=ed12fa68402f58e171a6f79500f73f4781fdc9e5
|
|
||||||
|
|
||||||
mkdir crosstool-ng
|
|
||||||
cd crosstool-ng
|
|
||||||
git init
|
|
||||||
git fetch --depth=1 ${URL} ${REV}
|
|
||||||
git reset --hard FETCH_HEAD
|
|
||||||
./bootstrap
|
|
||||||
./configure --prefix=/usr/local
|
|
||||||
make -j$(nproc)
|
|
||||||
make install
|
|
||||||
cd ..
|
|
||||||
rm -rf crosstool-ng
|
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
CT_NG=1.26.0
|
CT_NG=1.27.0
|
||||||
|
|
||||||
url="https://github.com/crosstool-ng/crosstool-ng/archive/crosstool-ng-$CT_NG.tar.gz"
|
url="https://github.com/crosstool-ng/crosstool-ng/archive/crosstool-ng-$CT_NG.tar.gz"
|
||||||
curl -Lf $url | tar xzf -
|
curl -Lf $url | tar xzf -
|
||||||
|
Loading…
Reference in New Issue
Block a user