Skip to content
forked from rust-lang/rust
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8f9c8e2

Browse files
committedJun 28, 2024
Auto merge of rust-lang#127078 - xen0n:more-feat-for-loong-dist, r=<try>
Enable full tools, profiler and sanitizers for LoongArch Linux targets When the LoongArch targets were first introduced, the LLVM support was still immature and various tools were not supported on LoongArch. Nowadays most infra is in place, so it is time to enable them on LoongArch to provide a better experience for users of these targets. Plus, the profiler support is needed by Chromium, so better provide it in the official artifacts. cc `@heiher` try-job: dist-loongarch64-linux try-job: dist-loongarch64-musl
2 parents 42add88 + 6ba6faf commit 8f9c8e2

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed
 

‎src/ci/docker/host-x86_64/dist-loongarch64-linux/Dockerfile

+7-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,11 @@ ENV CC_loongarch64_unknown_linux_gnu=loongarch64-unknown-linux-gnu-gcc \
2525

2626
ENV HOSTS=loongarch64-unknown-linux-gnu
2727

28-
ENV RUST_CONFIGURE_ARGS --enable-extended --disable-docs
28+
ENV RUST_CONFIGURE_ARGS \
29+
--enable-extended \
30+
--enable-full-tools \
31+
--enable-profiler \
32+
--enable-sanitizers \
33+
--disable-docs
34+
2935
ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS

‎src/ci/docker/host-x86_64/dist-loongarch64-musl/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ ENV HOSTS=loongarch64-unknown-linux-musl
2727

2828
ENV RUST_CONFIGURE_ARGS \
2929
--enable-extended \
30-
--enable-lld \
30+
--enable-full-tools \
31+
--enable-profiler \
32+
--enable-sanitizers \
3133
--disable-docs \
3234
--set target.loongarch64-unknown-linux-musl.crt-static=false \
3335
--musl-root-loongarch64=/x-tools/loongarch64-unknown-linux-musl/loongarch64-unknown-linux-musl/sysroot/usr

0 commit comments

Comments
 (0)
Failed to load comments.