ubxlib_builder: Upgrade to clang 14
@@ -9,14 +9,14 @@ ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
locales wget software-properties-common && \
wget -qO - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
- add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-11 main" && \
+ add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-14 main" && \
apt-get update && apt-get install --no-install-recommends -y \
- clang-11 clang-tidy-11 clang-format-11 libpq-dev make build-essential \
+ clang-14 clang-tidy-14 clang-format-14 libpq-dev make build-essential \
curl gcc-multilib git python3-venv python3-dev python3-pip python3-setuptools libsasl2-dev \
libldap2-dev libssl-dev && \
- update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-11 9999 && \
- update-alternatives --install /usr/bin/clang clang /usr/bin/clang-11 9999 && \
- update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-11 9999 && \
+ update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-14 9999 && \
+ update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 9999 && \
+ update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-14 9999 && \
update-alternatives --install /usr/bin/python python /usr/bin/python3 1 && \
pip3 install thrift codechecker && \
# Cleanup
