-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dockerfiles for i586, riscv, and thumb
These targets are tested in `compiler-builtins`, but not yet `libm`. Add dockerfiles to prepare for this.
- Loading branch information
Showing
6 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM ubuntu:24.04 | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends \ | ||
gcc-multilib libc6-dev ca-certificates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM ubuntu:24.04 | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends \ | ||
gcc libc6-dev qemu-user-static ca-certificates \ | ||
gcc-riscv64-linux-gnu libc6-dev-riscv64-cross \ | ||
qemu-system-riscv64 | ||
|
||
ENV TOOLCHAIN_PREFIX=riscv64-linux-gnu- | ||
ENV CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_LINKER="$TOOLCHAIN_PREFIX"gcc \ | ||
CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_RUNNER=qemu-riscv64-static \ | ||
AR_riscv64gc_unknown_linux_gnu="$TOOLCHAIN_PREFIX"ar \ | ||
CC_riscv64gc_unknown_linux_gnu="$TOOLCHAIN_PREFIX"gcc \ | ||
QEMU_LD_PREFIX=/usr/riscv64-linux-gnu \ | ||
RUST_TEST_THREADS=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ARG IMAGE=ubuntu:24.04 | ||
FROM $IMAGE | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends \ | ||
gcc libc6-dev ca-certificates \ | ||
gcc-arm-none-eabi \ | ||
libnewlib-arm-none-eabi | ||
ENV BUILD_ONLY=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ARG IMAGE=ubuntu:24.04 | ||
FROM $IMAGE | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends \ | ||
gcc libc6-dev ca-certificates \ | ||
gcc-arm-none-eabi \ | ||
libnewlib-arm-none-eabi | ||
ENV BUILD_ONLY=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ARG IMAGE=ubuntu:24.04 | ||
FROM $IMAGE | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends \ | ||
gcc libc6-dev ca-certificates \ | ||
gcc-arm-none-eabi \ | ||
libnewlib-arm-none-eabi | ||
ENV BUILD_ONLY=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ARG IMAGE=ubuntu:24.04 | ||
FROM $IMAGE | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends \ | ||
gcc libc6-dev ca-certificates \ | ||
gcc-arm-none-eabi \ | ||
libnewlib-arm-none-eabi | ||
ENV BUILD_ONLY=1 |