Skip to content

Commit 6ba6faf

Browse files
committed
Enable full tools, profiler and sanitizers for dist-loongarch64-{linux,musl}
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.
1 parent 42add88 commit 6ba6faf

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)