This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +60
-0
lines changed
docker/host-aarch64/aarch64-gnu-debug Expand file tree Collapse file tree 2 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM ubuntu:22.04
2+
3+ ARG DEBIAN_FRONTEND=noninteractive
4+ RUN apt-get update && apt-get install -y --no-install-recommends \
5+ g++ \
6+ make \
7+ ninja-build \
8+ file \
9+ curl \
10+ ca-certificates \
11+ python3 \
12+ python3-dev \
13+ libxml2-dev \
14+ libncurses-dev \
15+ libedit-dev \
16+ swig \
17+ doxygen \
18+ git \
19+ cmake \
20+ sudo \
21+ gdb \
22+ libssl-dev \
23+ pkg-config \
24+ xz-utils \
25+ lld \
26+ clang \
27+ && rm -rf /var/lib/apt/lists/*
28+
29+ COPY scripts/sccache.sh /scripts/
30+ RUN sh /scripts/sccache.sh
31+
32+ ENV RUSTBUILD_FORCE_CLANG_BASED_TESTS 1
33+ ENV RUN_CHECK_WITH_PARALLEL_QUERIES 1
34+
35+ # llvm.use-linker conflicts with downloading CI LLVM
36+ ENV NO_DOWNLOAD_CI_LLVM 1
37+
38+ ENV RUST_CONFIGURE_ARGS \
39+ --build=aarch64-unknown-linux-gnu \
40+ --enable-debug \
41+ --enable-lld \
42+ --set llvm.use-linker=lld \
43+ --set target.aarch64-unknown-linux-gnu.linker=clang \
44+ --set target.aarch64-unknown-linux-gnu.cc=clang \
45+ --set target.aarch64-unknown-linux-gnu.cxx=clang++
46+
47+ # This job appears to be checking two separate things:
48+ # - That we can build the compiler with `--enable-debug`
49+ # (without necessarily testing the result).
50+ # - That the tests with `//@ needs-force-clang-based-tests` pass, since they
51+ # don't run by default unless RUSTBUILD_FORCE_CLANG_BASED_TESTS is set.
52+ # - FIXME(https://github.com/rust-lang/rust/pull/126155#issuecomment-2156314273):
53+ # Currently we only run the subset of tests with "clang" in their name.
54+
55+ ENV SCRIPT \
56+ python3 ../x.py --stage 2 build && \
57+ python3 ../x.py --stage 2 test tests/run-make --test-args clang
Original file line number Diff line number Diff line change @@ -116,6 +116,9 @@ auto:
116116 - image : aarch64-gnu
117117 << : *job-aarch64-linux
118118
119+ - image : aarch64-gnu-debug
120+ << : *job-aarch64-linux
121+
119122 - image : arm-android
120123 << : *job-linux-4c
121124
You can’t perform that action at this time.
0 commit comments