]> git.proxmox.com Git - rustc.git/blame - src/ci/docker/host-x86_64/dist-mips-linux/Dockerfile
bump version to 1.82.0+dfsg1-1~bpo12+pve2
[rustc.git] / src / ci / docker / host-x86_64 / dist-mips-linux / Dockerfile
CommitLineData
2b03887a 1FROM ubuntu:22.04
476ff2be 2
2b03887a
FG
3COPY scripts/cross-apt-packages.sh /scripts/
4RUN sh /scripts/cross-apt-packages.sh
5
49aad941
FG
6COPY scripts/crosstool-ng.sh /scripts/
7RUN sh /scripts/crosstool-ng.sh
2b03887a
FG
8
9COPY scripts/rustbuild-setup.sh /scripts/
10RUN sh /scripts/rustbuild-setup.sh
11WORKDIR /tmp
12
49aad941 13COPY scripts/crosstool-ng-build.sh /scripts/
2b03887a 14COPY host-x86_64/dist-mips-linux/patches/ /tmp/patches/
49aad941
FG
15COPY host-x86_64/dist-mips-linux/mips-linux-gnu.defconfig /tmp/crosstool.defconfig
16RUN /scripts/crosstool-ng-build.sh
476ff2be 17
041b39d2
XL
18COPY scripts/sccache.sh /scripts/
19RUN sh /scripts/sccache.sh
20
2b03887a
FG
21ENV PATH=$PATH:/x-tools/mips-unknown-linux-gnu/bin
22
23ENV \
24 CC_mips_unknown_linux_gnu=mips-unknown-linux-gnu-gcc \
25 AR_mips_unknown_linux_gnu=mips-unknown-linux-gnu-ar \
26 CXX_mips_unknown_linux_gnu=mips-unknown-linux-gnu-g++
6a06907d 27
32a655c1 28ENV HOSTS=mips-unknown-linux-gnu
32a655c1 29
2b03887a 30ENV RUST_CONFIGURE_ARGS --enable-extended --disable-docs
ba9703b0 31ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS