feat: Update to Clang 19 (#2293)

This commit is contained in:
Ayaz Salikhov
2025-07-08 11:49:11 +01:00
committed by GitHub
parent 687b1e8887
commit 562ea41a64
4 changed files with 7 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ concurrency:
cancel-in-progress: false
env:
CLANG_MAJOR_VERSION: 16
CLANG_MAJOR_VERSION: 19
GCC_MAJOR_VERSION: 12
GCC_VERSION: 12.3.0

View File

@@ -6,7 +6,7 @@ It is used in [Clio Github Actions](https://github.com/XRPLF/clio/actions) but c
The image is based on Ubuntu 20.04 and contains:
- ccache 4.11.3
- clang 16.0.6
- clang 19
- ClangBuildAnalyzer 1.6.0
- conan 2.17.0
- doxygen 1.12

View File

@@ -4,8 +4,9 @@ build_type=Release
compiler=clang
compiler.cppstd=20
compiler.libcxx=libc++
compiler.version=16
compiler.version=19
os=Linux
[conf]
tools.build:compiler_executables={"c": "/usr/bin/clang-16", "cpp": "/usr/bin/clang++-16"}
tools.build:compiler_executables={"c": "/usr/bin/clang-19", "cpp": "/usr/bin/clang++-19"}
grpc/1.50.1:tools.build:cxxflags+=["-Wno-missing-template-arg-list-after-template-kw"]

View File

@@ -17,6 +17,8 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*
ARG CLANG_MAJOR_VERSION=invalid
# Bump this version to force rebuild of the image
ARG BUILD_VERSION=0
RUN wget --progress=dot:giga https://apt.llvm.org/llvm.sh \
&& chmod +x llvm.sh \