aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2022-10-20 22:52:47 +0000
committerAleksandr Nogikh <wp32pw@gmail.com>2022-10-20 22:02:28 -0700
commit3a03e29438b147b9225177e67d5a56d2584bee36 (patch)
tree1544ad3d85ba213ae2ae26d03fb0a660731d7a17 /tools
parenta0fd4dab4eac71d7b3237bb1000352206a6a82f5 (diff)
tools/docker: add ld.lld to syzbot
Now that we have the ability to specify the linker, make it possible to choose between ld and ld.lld.
Diffstat (limited to 'tools')
-rw-r--r--tools/docker/syzbot/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/docker/syzbot/Dockerfile b/tools/docker/syzbot/Dockerfile
index 4ac0bdca7..a553c738e 100644
--- a/tools/docker/syzbot/Dockerfile
+++ b/tools/docker/syzbot/Dockerfile
@@ -39,12 +39,13 @@ RUN curl https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
RUN add-apt-repository "deb http://apt.llvm.org/bullseye/ llvm-toolchain-bullseye-13 main"
RUN apt-get update --allow-releaseinfo-change
RUN apt-get remove -y -q clang-11
-RUN apt-get install -y -q --no-install-recommends clang-13 clang-format-13 clang-tidy-13
+RUN apt-get install -y -q --no-install-recommends clang-13 clang-format-13 clang-tidy-13 lld-13
RUN apt autoremove -y -q
RUN sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-13 100
RUN sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-13 100
RUN sudo update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-13 100
RUN sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-13 100
+RUN sudo update-alternatives --install /usr/bin/ld.lld ld.lld /usr/bin/lld-13 100
# Download and install the custom Clang required to build KMSAN.
# TODO(@ramosian-glider): switch to stable Clang once KMSAN is upstreamed.