mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-20 19:56:00 +00:00
feat: Update to Clang 19 (#2293)
This commit is contained in:
2
.github/workflows/update_docker_ci.yml
vendored
2
.github/workflows/update_docker_ci.yml
vendored
@@ -29,7 +29,7 @@ concurrency:
|
|||||||
cancel-in-progress: false
|
cancel-in-progress: false
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CLANG_MAJOR_VERSION: 16
|
CLANG_MAJOR_VERSION: 19
|
||||||
GCC_MAJOR_VERSION: 12
|
GCC_MAJOR_VERSION: 12
|
||||||
GCC_VERSION: 12.3.0
|
GCC_VERSION: 12.3.0
|
||||||
|
|
||||||
|
|||||||
@@ -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:
|
The image is based on Ubuntu 20.04 and contains:
|
||||||
|
|
||||||
- ccache 4.11.3
|
- ccache 4.11.3
|
||||||
- clang 16.0.6
|
- clang 19
|
||||||
- ClangBuildAnalyzer 1.6.0
|
- ClangBuildAnalyzer 1.6.0
|
||||||
- conan 2.17.0
|
- conan 2.17.0
|
||||||
- doxygen 1.12
|
- doxygen 1.12
|
||||||
|
|||||||
@@ -4,8 +4,9 @@ build_type=Release
|
|||||||
compiler=clang
|
compiler=clang
|
||||||
compiler.cppstd=20
|
compiler.cppstd=20
|
||||||
compiler.libcxx=libc++
|
compiler.libcxx=libc++
|
||||||
compiler.version=16
|
compiler.version=19
|
||||||
os=Linux
|
os=Linux
|
||||||
|
|
||||||
[conf]
|
[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"]
|
||||||
|
|||||||
@@ -17,6 +17,8 @@ RUN apt-get update \
|
|||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
ARG CLANG_MAJOR_VERSION=invalid
|
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 \
|
RUN wget --progress=dot:giga https://apt.llvm.org/llvm.sh \
|
||||||
&& chmod +x llvm.sh \
|
&& chmod +x llvm.sh \
|
||||||
|
|||||||
Reference in New Issue
Block a user