Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit fbdcf05

Browse files
committed
Add dockerfiles for i586, riscv, and thumb
These targets are tested in `compiler-builtins`, but not yet `libm`. Add dockerfiles to prepare for this.
1 parent ad6a083 commit fbdcf05

File tree

6 files changed

+56
-0
lines changed

6 files changed

+56
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM ubuntu:24.04
2+
3+
RUN apt-get update && \
4+
apt-get install -y --no-install-recommends \
5+
gcc-multilib libc6-dev ca-certificates
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM ubuntu:24.04
2+
3+
RUN apt-get update && \
4+
apt-get install -y --no-install-recommends \
5+
gcc libc6-dev qemu-user-static ca-certificates \
6+
gcc-riscv64-linux-gnu libc6-dev-riscv64-cross \
7+
qemu-system-riscv64
8+
9+
ENV TOOLCHAIN_PREFIX=riscv64-linux-gnu-
10+
ENV CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_LINKER="$TOOLCHAIN_PREFIX"gcc \
11+
CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_RUNNER=qemu-riscv64-static \
12+
AR_riscv64gc_unknown_linux_gnu="$TOOLCHAIN_PREFIX"ar \
13+
CC_riscv64gc_unknown_linux_gnu="$TOOLCHAIN_PREFIX"gcc \
14+
QEMU_LD_PREFIX=/usr/riscv64-linux-gnu \
15+
RUST_TEST_THREADS=1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
ARG IMAGE=ubuntu:24.04
2+
FROM $IMAGE
3+
4+
RUN apt-get update && \
5+
apt-get install -y --no-install-recommends \
6+
gcc libc6-dev ca-certificates \
7+
gcc-arm-none-eabi \
8+
libnewlib-arm-none-eabi
9+
ENV BUILD_ONLY=1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
ARG IMAGE=ubuntu:24.04
2+
FROM $IMAGE
3+
4+
RUN apt-get update && \
5+
apt-get install -y --no-install-recommends \
6+
gcc libc6-dev ca-certificates \
7+
gcc-arm-none-eabi \
8+
libnewlib-arm-none-eabi
9+
ENV BUILD_ONLY=1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
ARG IMAGE=ubuntu:24.04
2+
FROM $IMAGE
3+
4+
RUN apt-get update && \
5+
apt-get install -y --no-install-recommends \
6+
gcc libc6-dev ca-certificates \
7+
gcc-arm-none-eabi \
8+
libnewlib-arm-none-eabi
9+
ENV BUILD_ONLY=1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
ARG IMAGE=ubuntu:24.04
2+
FROM $IMAGE
3+
4+
RUN apt-get update && \
5+
apt-get install -y --no-install-recommends \
6+
gcc libc6-dev ca-certificates \
7+
gcc-arm-none-eabi \
8+
libnewlib-arm-none-eabi
9+
ENV BUILD_ONLY=1

0 commit comments

Comments
 (0)