Skip to content

Commit a1d6786

Browse files
authored
Unrolled build for rust-lang#127078
Rollup merge of rust-lang#127078 - xen0n:more-feat-for-loong-dist, r=Kobzol Enable full tools and profiler 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 9ed2ab3 + c7ac9bb commit a1d6786

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

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

+6-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,10 @@ 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+
--disable-docs
33+
2934
ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ 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 \
3132
--disable-docs \
3233
--set target.loongarch64-unknown-linux-musl.crt-static=false \
3334
--musl-root-loongarch64=/x-tools/loongarch64-unknown-linux-musl/loongarch64-unknown-linux-musl/sysroot/usr

0 commit comments

Comments
 (0)