File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
ci/docker/loongarch64-unknown-linux-gnu Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,7 @@ jobs:
171171 - arm-unknown-linux-musleabihf
172172 - i686-linux-android
173173 - i686-unknown-linux-musl
174+ - loongarch64-unknown-linux-gnu
174175 - powerpc-unknown-linux-gnu
175176 - powerpc64-unknown-linux-gnu
176177 - powerpc64le-unknown-linux-gnu
Original file line number Diff line number Diff line change 1+ FROM ubuntu:24.04
2+
3+ RUN apt-get update && apt-get install -y --no-install-recommends \
4+ gcc libc6-dev qemu-user ca-certificates \
5+ gcc-14-loongarch64-linux-gnu libc6-dev-loong64-cross \
6+ linux-headers-generic
7+
8+ ENV CARGO_TARGET_LOONGARCH64_UNKNOWN_LINUX_GNU_LINKER=loongarch64-linux-gnu-gcc-14 \
9+ CARGO_TARGET_LOONGARCH64_UNKNOWN_LINUX_GNU_RUNNER="qemu-loongarch64 -L /usr/loongarch64-linux-gnu" \
10+ CC_loongarch64_unknown_linux_gnu=loongarch64-linux-gnu-gcc-14 \
11+ CFLAGS_loongarch64_unknown_linux_gnu="-mabi=lp64d -fPIC" \
12+ PATH=$PATH:/rust/bin
You can’t perform that action at this time.
0 commit comments