Add riscv64gc-unknown-linux-gnu
image
This commit is contained in:
parent
32184239e0
commit
b9986d9dc4
@ -72,6 +72,8 @@ jobs:
|
||||
TARGET: powerpc64le-unknown-linux-gnu
|
||||
s390x-unknown-linux-gnu:
|
||||
TARGET: s390x-unknown-linux-gnu
|
||||
riscv64gc-unknown-linux-gnu:
|
||||
TARGET: riscv64gc-unknown-linux-gnu
|
||||
#wasm32-wasi
|
||||
# TARGET: wasm32-wasi
|
||||
sparc64-unknown-linux-gnu:
|
||||
|
12
ci/docker/riscv64gc-unknown-linux-gnu/Dockerfile
Normal file
12
ci/docker/riscv64gc-unknown-linux-gnu/Dockerfile
Normal file
@ -0,0 +1,12 @@
|
||||
FROM ubuntu:20.04
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
gcc libc6-dev qemu-user ca-certificates \
|
||||
gcc-riscv64-linux-gnu libc6-dev-riscv64-cross \
|
||||
qemu-system-riscv64 linux-headers-generic
|
||||
|
||||
ENV CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_LINKER=riscv64-linux-gnu-gcc \
|
||||
CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_RUNNER="qemu-riscv64 -L /usr/riscv64-linux-gnu" \
|
||||
CC_riscv64gc_unknown_linux_gnu=riscv64-linux-gnu-gcc \
|
||||
CFLAGS_riscv64gc_unknown_linux_gnu="-mabi=lp64d -fPIC" \
|
||||
PATH=$PATH:/rust/bin
|
Loading…
Reference in New Issue
Block a user