Skip to content

Commit

Permalink
Update clang to 18
Browse files Browse the repository at this point in the history
  • Loading branch information
wassr committed Aug 18, 2024
1 parent 6fd5a23 commit 919561c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions linux-x86/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM ubuntu:23.04
FROM ubuntu:24.04

ENV HOME="/"

RUN dpkg --add-architecture i386 && apt-get update -qq && apt-get install -y -qq \
ca-certificates \
ccache \
clang-format-15 \
clang-tidy-15 \
clangd-15 \
clang-format-18 \
clang-tidy-18 \
clangd-18 \
cppcheck \
g++-13 \
g++-13-multilib \
Expand All @@ -17,7 +17,7 @@ RUN dpkg --add-architecture i386 && apt-get update -qq && apt-get install -y -qq
git \
lcov \
libc6-dbg:i386 \
libclang-15-dev \
libclang-18-dev \
make \
ninja-build \
pipx \
Expand All @@ -30,9 +30,9 @@ RUN dpkg --add-architecture i386 && apt-get update -qq && apt-get install -y -qq
&& rm -rf /var/lib/apt/lists/*

# Setup tools versions
RUN update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-15 15
RUN update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-15 15
RUN update-alternatives --install /usr/bin/clangd clangd /usr/bin/clangd-15 15
RUN update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-18 18
RUN update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-18 18
RUN update-alternatives --install /usr/bin/clangd clangd /usr/bin/clangd-18 18
RUN update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 13
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 13
RUN update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-13 13
Expand Down

0 comments on commit 919561c

Please sign in to comment.