]> git.proxmox.com Git - rustc.git/blame - src/ci/docker/host-x86_64/dist-mips64el-linux/Dockerfile
New upstream version 1.66.0+dfsg1
[rustc.git] / src / ci / docker / host-x86_64 / dist-mips64el-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
6COPY scripts/crosstool-ng-1.24.sh /scripts/
7RUN sh /scripts/crosstool-ng-1.24.sh
8
9COPY scripts/rustbuild-setup.sh /scripts/
10RUN sh /scripts/rustbuild-setup.sh
11WORKDIR /tmp
12
13COPY host-x86_64/dist-mips-linux/patches/ /tmp/patches/
14COPY host-x86_64/dist-mips64el-linux/mips64el-linux-gnu.config host-x86_64/dist-mips64el-linux/build-mips64el-toolchain.sh /tmp/
15RUN su rustbuild -c ./build-mips64el-toolchain.sh
476ff2be 16
041b39d2
XL
17COPY scripts/sccache.sh /scripts/
18RUN sh /scripts/sccache.sh
19
2b03887a
FG
20ENV PATH=$PATH:/x-tools/mips64el-unknown-linux-gnu/bin
21
22ENV \
23 CC_mips64el_unknown_linux_gnuabi64=mips64el-unknown-linux-gnu-gcc \
24 AR_mips64el_unknown_linux_gnuabi64=mips64el-unknown-linux-gnu-ar \
25 CXX_mips64el_unknown_linux_gnuabi64=mips64el-unknown-linux-gnu-g++
6a06907d 26
cc61c64b 27ENV HOSTS=mips64el-unknown-linux-gnuabi64
32a655c1 28
2b03887a 29ENV RUST_CONFIGURE_ARGS --enable-extended --disable-docs
ba9703b0 30ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS