Skip to content

Commit eb75b5a

Browse files
committed
tools/docker: add ld.lld to env
We use the env container to update kernel configs and the lack of ld.lld in it prevents the usage of LLVM=1.
1 parent b300856 commit eb75b5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/docker/env/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,13 @@ RUN apt-get install -y -q gnupg software-properties-common apt-transport-https
9292
RUN curl https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
9393
RUN add-apt-repository "deb http://apt.llvm.org/bookworm/ llvm-toolchain-bookworm-15 main"
9494
RUN apt-get update --allow-releaseinfo-change
95-
RUN apt-get install -y -q --no-install-recommends clang-15 clang-format-15 clang-tidy-15
95+
RUN apt-get install -y -q --no-install-recommends clang-15 clang-format-15 clang-tidy-15 lld-15
9696
RUN apt-get install -y -q --no-install-recommends flatbuffers-compiler
9797
RUN sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 100
9898
RUN sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 100
9999
RUN sudo update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-15 100
100100
RUN sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-15 100
101+
RUN sudo update-alternatives --install /usr/bin/ld.lld ld.lld /usr/bin/lld-15 100
101102
RUN apt autoremove -y -q
102103

103104
# Install the Spanner emulator.

0 commit comments

Comments
 (0)