Auto merge of #115238 - workingjubilee:ich-entferne-welke-blumen, r=nikic
Formally demote tier 2 MIPS targets to tier 3 Per https://github.com/rust-lang/compiler-team/issues/648 Fixes https://github.com/rust-lang/rust/issues/115218
This commit is contained in:
commit
7ed044c075
@ -29,8 +29,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
g++-arm-linux-gnueabi \
|
g++-arm-linux-gnueabi \
|
||||||
g++-arm-linux-gnueabihf \
|
g++-arm-linux-gnueabihf \
|
||||||
g++-aarch64-linux-gnu \
|
g++-aarch64-linux-gnu \
|
||||||
g++-mips64-linux-gnuabi64 \
|
|
||||||
g++-mips64el-linux-gnuabi64 \
|
|
||||||
gcc-arm-none-eabi \
|
gcc-arm-none-eabi \
|
||||||
gcc-sparc64-linux-gnu \
|
gcc-sparc64-linux-gnu \
|
||||||
libc6-dev-sparc64-cross \
|
libc6-dev-sparc64-cross \
|
||||||
@ -48,12 +46,6 @@ WORKDIR /build
|
|||||||
COPY host-x86_64/dist-various-1/install-x86_64-redox.sh /build
|
COPY host-x86_64/dist-various-1/install-x86_64-redox.sh /build
|
||||||
RUN ./install-x86_64-redox.sh
|
RUN ./install-x86_64-redox.sh
|
||||||
|
|
||||||
COPY host-x86_64/dist-various-1/install-mips-musl.sh /build
|
|
||||||
RUN ./install-mips-musl.sh
|
|
||||||
|
|
||||||
COPY host-x86_64/dist-various-1/install-mipsel-musl.sh /build
|
|
||||||
RUN ./install-mipsel-musl.sh
|
|
||||||
|
|
||||||
COPY host-x86_64/dist-various-1/install-aarch64-none-elf.sh /build
|
COPY host-x86_64/dist-various-1/install-aarch64-none-elf.sh /build
|
||||||
RUN ./install-aarch64-none-elf.sh
|
RUN ./install-aarch64-none-elf.sh
|
||||||
|
|
||||||
@ -76,32 +68,7 @@ RUN env \
|
|||||||
env \
|
env \
|
||||||
CC=arm-linux-gnueabihf-gcc CFLAGS="-march=armv7-a+fp" \
|
CC=arm-linux-gnueabihf-gcc CFLAGS="-march=armv7-a+fp" \
|
||||||
CXX=arm-linux-gnueabihf-g++ CXXFLAGS="-march=armv7-a+fp" \
|
CXX=arm-linux-gnueabihf-g++ CXXFLAGS="-march=armv7-a+fp" \
|
||||||
bash musl.sh armv7hf && \
|
bash musl.sh armv7hf
|
||||||
env \
|
|
||||||
CC=mips-openwrt-linux-gcc \
|
|
||||||
CXX=mips-openwrt-linux-g++ \
|
|
||||||
bash musl.sh mips && \
|
|
||||||
env \
|
|
||||||
CC=mipsel-openwrt-linux-gcc \
|
|
||||||
CXX=mipsel-openwrt-linux-g++ \
|
|
||||||
bash musl.sh mipsel && \
|
|
||||||
env \
|
|
||||||
CC=mips64-linux-gnuabi64-gcc \
|
|
||||||
CXX=mips64-linux-gnuabi64-g++ \
|
|
||||||
bash musl.sh mips64 && \
|
|
||||||
env \
|
|
||||||
CC=mips64el-linux-gnuabi64-gcc \
|
|
||||||
CXX=mips64el-linux-gnuabi64-g++ \
|
|
||||||
bash musl.sh mips64el && \
|
|
||||||
rm -rf /build/*
|
|
||||||
|
|
||||||
# FIXME(mozilla/sccache#235) this shouldn't be necessary but is currently
|
|
||||||
# necessary to disambiguate the mips compiler with the mipsel compiler. We want
|
|
||||||
# to give these two wrapper scripts (currently identical ones) different hashes
|
|
||||||
# to ensure that sccache understands that they're different compilers.
|
|
||||||
RUN \
|
|
||||||
echo "# a" >> /usr/local/mips-linux-musl/bin/mips-openwrt-linux-musl-wrapper.sh && \
|
|
||||||
echo "# b" >> /usr/local/mipsel-linux-musl/bin/mipsel-openwrt-linux-musl-wrapper.sh
|
|
||||||
|
|
||||||
ENV RUN_MAKE_TARGETS=thumbv6m-none-eabi
|
ENV RUN_MAKE_TARGETS=thumbv6m-none-eabi
|
||||||
ENV RUN_MAKE_TARGETS=$RUN_MAKE_TARGETS,thumbv7m-none-eabi
|
ENV RUN_MAKE_TARGETS=$RUN_MAKE_TARGETS,thumbv7m-none-eabi
|
||||||
@ -110,10 +77,6 @@ ENV RUN_MAKE_TARGETS=$RUN_MAKE_TARGETS,thumbv7em-none-eabihf
|
|||||||
|
|
||||||
ENV TARGETS=asmjs-unknown-emscripten
|
ENV TARGETS=asmjs-unknown-emscripten
|
||||||
ENV TARGETS=$TARGETS,wasm32-unknown-emscripten
|
ENV TARGETS=$TARGETS,wasm32-unknown-emscripten
|
||||||
ENV TARGETS=$TARGETS,mips-unknown-linux-musl
|
|
||||||
ENV TARGETS=$TARGETS,mipsel-unknown-linux-musl
|
|
||||||
ENV TARGETS=$TARGETS,mips64-unknown-linux-muslabi64
|
|
||||||
ENV TARGETS=$TARGETS,mips64el-unknown-linux-muslabi64
|
|
||||||
ENV TARGETS=$TARGETS,arm-unknown-linux-musleabi
|
ENV TARGETS=$TARGETS,arm-unknown-linux-musleabi
|
||||||
ENV TARGETS=$TARGETS,arm-unknown-linux-musleabihf
|
ENV TARGETS=$TARGETS,arm-unknown-linux-musleabihf
|
||||||
ENV TARGETS=$TARGETS,armv5te-unknown-linux-gnueabi
|
ENV TARGETS=$TARGETS,armv5te-unknown-linux-gnueabi
|
||||||
@ -149,10 +112,6 @@ ENV CFLAGS_armv5te_unknown_linux_musleabi="-march=armv5te -marm -mfloat-abi=soft
|
|||||||
CFLAGS_arm_unknown_linux_musleabi="-march=armv6 -marm" \
|
CFLAGS_arm_unknown_linux_musleabi="-march=armv6 -marm" \
|
||||||
CFLAGS_arm_unknown_linux_musleabihf="-march=armv6 -marm -mfpu=vfp" \
|
CFLAGS_arm_unknown_linux_musleabihf="-march=armv6 -marm -mfpu=vfp" \
|
||||||
CFLAGS_armv7_unknown_linux_musleabihf="-march=armv7-a+fp" \
|
CFLAGS_armv7_unknown_linux_musleabihf="-march=armv7-a+fp" \
|
||||||
CC_mipsel_unknown_linux_musl=mipsel-openwrt-linux-gcc \
|
|
||||||
CC_mips_unknown_linux_musl=mips-openwrt-linux-gcc \
|
|
||||||
CC_mips64el_unknown_linux_muslabi64=mips64el-linux-gnuabi64-gcc \
|
|
||||||
CC_mips64_unknown_linux_muslabi64=mips64-linux-gnuabi64-gcc \
|
|
||||||
CC_sparc64_unknown_linux_gnu=sparc64-linux-gnu-gcc \
|
CC_sparc64_unknown_linux_gnu=sparc64-linux-gnu-gcc \
|
||||||
CC_x86_64_unknown_redox=x86_64-unknown-redox-gcc \
|
CC_x86_64_unknown_redox=x86_64-unknown-redox-gcc \
|
||||||
CC_thumbv7neon_unknown_linux_gnueabihf=arm-linux-gnueabihf-gcc \
|
CC_thumbv7neon_unknown_linux_gnueabihf=arm-linux-gnueabihf-gcc \
|
||||||
@ -177,10 +136,6 @@ ENV RUST_CONFIGURE_ARGS \
|
|||||||
--musl-root-arm=/musl-arm \
|
--musl-root-arm=/musl-arm \
|
||||||
--musl-root-armhf=/musl-armhf \
|
--musl-root-armhf=/musl-armhf \
|
||||||
--musl-root-armv7hf=/musl-armv7hf \
|
--musl-root-armv7hf=/musl-armv7hf \
|
||||||
--musl-root-mips=/musl-mips \
|
|
||||||
--musl-root-mipsel=/musl-mipsel \
|
|
||||||
--musl-root-mips64=/musl-mips64 \
|
|
||||||
--musl-root-mips64el=/musl-mips64el \
|
|
||||||
--disable-docs
|
--disable-docs
|
||||||
|
|
||||||
ENV SCRIPT \
|
ENV SCRIPT \
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
mkdir /usr/local/mips-linux-musl
|
|
||||||
|
|
||||||
# originally from
|
|
||||||
# https://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/
|
|
||||||
# OpenWrt-Toolchain-ar71xx-generic_gcc-5.3.0_musl-1.1.16.Linux-x86_64.tar.bz2
|
|
||||||
URL="https://ci-mirrors.rust-lang.org/rustc"
|
|
||||||
FILE="OpenWrt-Toolchain-ar71xx-generic_gcc-5.3.0_musl-1.1.16.Linux-x86_64.tar.bz2"
|
|
||||||
curl -L "$URL/$FILE" | tar xjf - -C /usr/local/mips-linux-musl --strip-components=2
|
|
||||||
|
|
||||||
for file in /usr/local/mips-linux-musl/bin/mips-openwrt-linux-*; do
|
|
||||||
ln -s $file /usr/local/bin/`basename $file`
|
|
||||||
done
|
|
@ -1,15 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
mkdir /usr/local/mipsel-linux-musl
|
|
||||||
|
|
||||||
# Note that this originally came from:
|
|
||||||
# https://downloads.openwrt.org/snapshots/trunk/malta/generic/
|
|
||||||
# OpenWrt-Toolchain-malta-le_gcc-5.3.0_musl-1.1.15.Linux-x86_64.tar.bz2
|
|
||||||
URL="https://ci-mirrors.rust-lang.org/rustc"
|
|
||||||
FILE="OpenWrt-Toolchain-malta-le_gcc-5.3.0_musl-1.1.15.Linux-x86_64.tar.bz2"
|
|
||||||
curl -L "$URL/$FILE" | tar xjf - -C /usr/local/mipsel-linux-musl --strip-components=2
|
|
||||||
|
|
||||||
for file in /usr/local/mipsel-linux-musl/bin/mipsel-openwrt-linux-*; do
|
|
||||||
ln -s $file /usr/local/bin/`basename $file`
|
|
||||||
done
|
|
@ -93,10 +93,6 @@ target | notes
|
|||||||
`arm-unknown-linux-gnueabihf` | ARMv6 Linux, hardfloat (kernel 3.2, glibc 2.17)
|
`arm-unknown-linux-gnueabihf` | ARMv6 Linux, hardfloat (kernel 3.2, glibc 2.17)
|
||||||
`armv7-unknown-linux-gnueabihf` | ARMv7-A Linux, hardfloat (kernel 3.2, glibc 2.17)
|
`armv7-unknown-linux-gnueabihf` | ARMv7-A Linux, hardfloat (kernel 3.2, glibc 2.17)
|
||||||
[`loongarch64-unknown-linux-gnu`](platform-support/loongarch-linux.md) | LoongArch64 Linux, LP64D ABI (kernel 5.19, glibc 2.36)
|
[`loongarch64-unknown-linux-gnu`](platform-support/loongarch-linux.md) | LoongArch64 Linux, LP64D ABI (kernel 5.19, glibc 2.36)
|
||||||
`mips-unknown-linux-gnu` | MIPS Linux (kernel 4.4, glibc 2.23)
|
|
||||||
`mips64-unknown-linux-gnuabi64` | MIPS64 Linux, n64 ABI (kernel 4.4, glibc 2.23)
|
|
||||||
`mips64el-unknown-linux-gnuabi64` | MIPS64 (LE) Linux, n64 ABI (kernel 4.4, glibc 2.23)
|
|
||||||
`mipsel-unknown-linux-gnu` | MIPS (LE) Linux (kernel 4.4, glibc 2.23)
|
|
||||||
`powerpc-unknown-linux-gnu` | PowerPC Linux (kernel 3.2, glibc 2.17)
|
`powerpc-unknown-linux-gnu` | PowerPC Linux (kernel 3.2, glibc 2.17)
|
||||||
`powerpc64-unknown-linux-gnu` | PPC64 Linux (kernel 3.2, glibc 2.17)
|
`powerpc64-unknown-linux-gnu` | PPC64 Linux (kernel 3.2, glibc 2.17)
|
||||||
`powerpc64le-unknown-linux-gnu` | PPC64LE Linux (kernel 3.10, glibc 2.17)
|
`powerpc64le-unknown-linux-gnu` | PPC64LE Linux (kernel 3.10, glibc 2.17)
|
||||||
@ -162,10 +158,6 @@ target | std | notes
|
|||||||
[`i686-unknown-uefi`](platform-support/unknown-uefi.md) | * | 32-bit UEFI
|
[`i686-unknown-uefi`](platform-support/unknown-uefi.md) | * | 32-bit UEFI
|
||||||
[`loongarch64-unknown-none`](platform-support/loongarch-none.md) | * | | LoongArch64 Bare-metal (LP64D ABI)
|
[`loongarch64-unknown-none`](platform-support/loongarch-none.md) | * | | LoongArch64 Bare-metal (LP64D ABI)
|
||||||
[`loongarch64-unknown-none-softfloat`](platform-support/loongarch-none.md) | * | | LoongArch64 Bare-metal (LP64S ABI)
|
[`loongarch64-unknown-none-softfloat`](platform-support/loongarch-none.md) | * | | LoongArch64 Bare-metal (LP64S ABI)
|
||||||
`mips-unknown-linux-musl` | ✓ | MIPS Linux with MUSL
|
|
||||||
`mips64-unknown-linux-muslabi64` | ✓ | MIPS64 Linux, n64 ABI, MUSL
|
|
||||||
`mips64el-unknown-linux-muslabi64` | ✓ | MIPS64 (LE) Linux, n64 ABI, MUSL
|
|
||||||
`mipsel-unknown-linux-musl` | ✓ | MIPS (LE) Linux with MUSL
|
|
||||||
[`nvptx64-nvidia-cuda`](platform-support/nvptx64-nvidia-cuda.md) | * | --emit=asm generates PTX code that [runs on NVIDIA GPUs]
|
[`nvptx64-nvidia-cuda`](platform-support/nvptx64-nvidia-cuda.md) | * | --emit=asm generates PTX code that [runs on NVIDIA GPUs]
|
||||||
`riscv32i-unknown-none-elf` | * | Bare RISC-V (RV32I ISA)
|
`riscv32i-unknown-none-elf` | * | Bare RISC-V (RV32I ISA)
|
||||||
`riscv32imac-unknown-none-elf` | * | Bare RISC-V (RV32IMAC ISA)
|
`riscv32imac-unknown-none-elf` | * | Bare RISC-V (RV32IMAC ISA)
|
||||||
@ -282,8 +274,16 @@ target | std | host | notes
|
|||||||
`i686-uwp-windows-msvc` | ? | | [^x86_32-floats-return-ABI]
|
`i686-uwp-windows-msvc` | ? | | [^x86_32-floats-return-ABI]
|
||||||
`i686-wrs-vxworks` | ? | | [^x86_32-floats-return-ABI]
|
`i686-wrs-vxworks` | ? | | [^x86_32-floats-return-ABI]
|
||||||
[`m68k-unknown-linux-gnu`](platform-support/m68k-unknown-linux-gnu.md) | ? | | Motorola 680x0 Linux
|
[`m68k-unknown-linux-gnu`](platform-support/m68k-unknown-linux-gnu.md) | ? | | Motorola 680x0 Linux
|
||||||
|
`mips-unknown-linux-gnu` | ✓ | ✓ | MIPS Linux (kernel 4.4, glibc 2.23)
|
||||||
|
`mips-unknown-linux-musl` | ✓ | | MIPS Linux with musl libc
|
||||||
`mips-unknown-linux-uclibc` | ✓ | | MIPS Linux with uClibc
|
`mips-unknown-linux-uclibc` | ✓ | | MIPS Linux with uClibc
|
||||||
[`mips64-openwrt-linux-musl`](platform-support/mips64-openwrt-linux-musl.md) | ? | | MIPS64 for OpenWrt Linux MUSL
|
[`mips64-openwrt-linux-musl`](platform-support/mips64-openwrt-linux-musl.md) | ? | | MIPS64 for OpenWrt Linux MUSL
|
||||||
|
`mips64-unknown-linux-gnuabi64` | ✓ | ✓ | MIPS64 Linux, N64 ABI (kernel 4.4, glibc 2.23)
|
||||||
|
`mips64-unknown-linux-muslabi64` | ✓ | | MIPS64 Linux, N64 ABI, musl libc
|
||||||
|
`mips64el-unknown-linux-gnuabi64` | ✓ | ✓ | MIPS64 (little endian) Linux, N64 ABI (kernel 4.4, glibc 2.23)
|
||||||
|
`mips64el-unknown-linux-muslabi64` | ✓ | | MIPS64 (little endian) Linux, N64 ABI, musl libc
|
||||||
|
`mipsel-unknown-linux-gnu` | ✓ | ✓ | MIPS (little endian) Linux (kernel 4.4, glibc 2.23)
|
||||||
|
`mipsel-unknown-linux-musl` | ✓ | | MIPS (little endian) Linux with musl libc
|
||||||
`mipsel-sony-psp` | * | | MIPS (LE) Sony PlayStation Portable (PSP)
|
`mipsel-sony-psp` | * | | MIPS (LE) Sony PlayStation Portable (PSP)
|
||||||
[`mipsel-sony-psx`](platform-support/mipsel-sony-psx.md) | * | | MIPS (LE) Sony PlayStation 1 (PSX)
|
[`mipsel-sony-psx`](platform-support/mipsel-sony-psx.md) | * | | MIPS (LE) Sony PlayStation 1 (PSX)
|
||||||
`mipsel-unknown-linux-uclibc` | ✓ | | MIPS (LE) Linux with uClibc
|
`mipsel-unknown-linux-uclibc` | ✓ | | MIPS (LE) Linux with uClibc
|
||||||
|
Loading…
Reference in New Issue
Block a user