diff options
| author | Alexander Potapenko <glider@google.com> | 2023-01-24 14:25:09 +0100 |
|---|---|---|
| committer | Alexander Potapenko <ramosian.glider@gmail.com> | 2023-01-24 14:34:51 +0100 |
| commit | 3d904c7acdbdd69b8c6e85799af7565955025201 (patch) | |
| tree | 3144a4b781f2faa045044c8b0c2b2a89cf202150 /tools/docker/syzbot/Dockerfile | |
| parent | 9dfcf09cf38eb123a007af28c5ee2562718893a0 (diff) | |
tools/docker: switch to Clang 15
This is a prerequisite for building KMSAN-instrumented kernels.
Diffstat (limited to 'tools/docker/syzbot/Dockerfile')
| -rw-r--r-- | tools/docker/syzbot/Dockerfile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/docker/syzbot/Dockerfile b/tools/docker/syzbot/Dockerfile index af1f19772..5f51ffc09 100644 --- a/tools/docker/syzbot/Dockerfile +++ b/tools/docker/syzbot/Dockerfile @@ -38,16 +38,16 @@ ENV PATH /usr/local/go/bin:$PATH # The default clang-11 is too old, install the latest one. 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/bullseye/ llvm-toolchain-bullseye-13 main" +RUN add-apt-repository "deb http://apt.llvm.org/bullseye/ llvm-toolchain-bullseye-15 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 lld-13 +RUN apt-get install -y -q --no-install-recommends clang-15 clang-format-15 clang-tidy-15 lld-15 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 +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 # Download and install the custom Clang required to build KMSAN. # TODO(@ramosian-glider): switch to stable Clang once KMSAN is upstreamed. |
