Skip to content

Commit

Permalink
ci: riscv: Use new official build docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
tblah authored and workingjubilee committed Aug 9, 2020
1 parent 8ad1f55 commit bbfacb9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions ci/docker/riscv64gc-unknown-linux-gnu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
FROM rust-riscv64gc-unknown-linux-gnu


# We install a stable toolchain using rustup anyway, this should stop us getting
# confused and still having this toolchain in $PATH
RUN /usr/local/lib/rustlib/uninstall.sh
# Weirdly that doesn't remove these:
RUN rm /usr/local/bin/cargo /usr/local/bin/rust*

ENV CC_riscv64gc_unknown_linux_gnu=riscv64-unknown-linux-gnu-gcc \
CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_LINKER=riscv64-unknown-linux-gnu-gcc
2 changes: 1 addition & 1 deletion ci/fetch-rust-docker.bash
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ case "$TARGET" in
x86_64-unknown-freebsd) image=dist-x86_64-freebsd ;;
x86_64-unknown-linux-gnu) image=dist-x86_64-linux ;;
x86_64-unknown-netbsd) image=dist-x86_64-netbsd ;;
riscv64gc-unknown-linux-gnu) image=dist-various-1 ;;
riscv64gc-unknown-linux-gnu) image=dist-riscv64-linux ;;
*) exit ;;
esac

Expand Down

0 comments on commit bbfacb9

Please sign in to comment.