From eb75b5a2be5115bd3254af6221d0b46b16cc445c Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Wed, 16 Apr 2025 16:19:10 +0200 Subject: 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. --- tools/docker/env/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/docker') diff --git a/tools/docker/env/Dockerfile b/tools/docker/env/Dockerfile index cc33627a2..22fde62eb 100644 --- a/tools/docker/env/Dockerfile +++ b/tools/docker/env/Dockerfile @@ -92,12 +92,13 @@ RUN apt-get install -y -q gnupg software-properties-common apt-transport-https RUN curl https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - RUN add-apt-repository "deb http://apt.llvm.org/bookworm/ llvm-toolchain-bookworm-15 main" RUN apt-get update --allow-releaseinfo-change -RUN apt-get install -y -q --no-install-recommends clang-15 clang-format-15 clang-tidy-15 +RUN apt-get install -y -q --no-install-recommends clang-15 clang-format-15 clang-tidy-15 lld-15 RUN apt-get install -y -q --no-install-recommends flatbuffers-compiler RUN sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 100 RUN sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 100 RUN sudo update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-15 100 RUN sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-15 100 +RUN sudo update-alternatives --install /usr/bin/ld.lld ld.lld /usr/bin/lld-15 100 RUN apt autoremove -y -q # Install the Spanner emulator. -- cgit mrf-deployment