@@ -17,21 +17,20 @@ ENV DEBIAN_FRONTEND=noninteractive
17
17
18
18
RUN apt-get update \
19
19
&& apt-get upgrade -y \
20
- && apt-get install \
20
+ && apt-get install -y \
21
21
apt-utils \
22
22
git \
23
23
wget gnupg curl \
24
24
build-essential \
25
25
libz-dev \
26
- gcc-aarch64-linux-gnu g++-aarch64-linux-gnu \
27
- -y
26
+ gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
27
+
28
28
# dpkg --add-architecture arm64 \
29
29
30
30
# # Setup llvm sources
31
31
# RUN echo "deb http://apt.llvm.org/$LLVM_DEBIAN_VERSION/ llvm-toolchain-$LLVM_DEBIAN_VERSION-$LLVM_VER main" >> /etc/apt/sources.list.d/llvm.list
32
32
# RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
33
33
34
- # RUN apt-get update
35
34
# Install Clang dependencies
36
35
# On bookworm clang is version 14, which is what we have as default.
37
36
# Installing without versions here is convinient for scripts calling clang or lld instead of clang-14/lld-14
@@ -40,6 +39,15 @@ RUN apt-get install -y zip clang lldb lld clangd \
40
39
clangd-$LLVM_VER liblld-$LLVM_VER-dev \
41
40
llvm-$LLVM_VER-dev libpolly-$LLVM_VER-dev
42
41
42
+ # Install llvm-lit, which we use for correctness tests
43
+ RUN apt-get install -y python3-venv
44
+ RUN python3 -m venv /opt/venv
45
+ RUN /opt/venv/bin/python -m pip install --upgrade pip
46
+ RUN /opt/venv/bin/python -m pip install pipx
47
+ RUN /opt/venv/bin/pipx install lit
48
+ RUN /opt/venv/bin/pipx ensurepath
49
+ RUN /opt/venv/bin/pipx ensurepath --global
50
+
43
51
ENV CARGO_HOME=/usr/local/cargo
44
52
ENV RUSTUP_HOME=/usr/local/rustup
45
53
# Get Rust
0 commit comments