Skip to content

Commit

Permalink
apacheGH-41147: [CI][C++] Use newer LLVM on Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
pitrou committed Apr 11, 2024
1 parent b3b4521 commit 9106472
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ci/docker/ubuntu-24.04-cpp.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN echo "debconf debconf/frontend select Noninteractive" | \
# while debugging package list with docker build.
ARG clang_tools
ARG llvm
RUN latest_system_llvm=14 && \
RUN latest_system_llvm=18 && \
if [ ${llvm} -gt ${latest_system_llvm} -o \
${clang_tools} -gt ${latest_system_llvm} ]; then \
apt-get update -y -q && \
Expand Down Expand Up @@ -127,7 +127,7 @@ RUN if [ "${gcc_version}" = "" ]; then \
g++ \
gcc; \
else \
if [ "${gcc_version}" -gt "12" ]; then \
if [ "${gcc_version}" -gt "14" ]; then \
apt-get update -y -q && \
apt-get install -y -q --no-install-recommends software-properties-common && \
add-apt-repository ppa:ubuntu-toolchain-r/volatile; \
Expand Down
4 changes: 3 additions & 1 deletion dev/tasks/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1079,8 +1079,10 @@ tasks:
template: docker-tests/github.linux.yml
params:
env:
UBUNTU: "24.04"
CLANG_TOOLS: 15
GCC_VERSION: 14
LLVM: 15
UBUNTU: 24.04
# rapidjson 1.1.0 has an error caught by gcc 14.
# https://github.com/Tencent/rapidjson/issues/718
flags: -e CC=gcc-14 -e CXX=g++-14 -e RapidJSON_SOURCE=BUNDLED
Expand Down

0 comments on commit 9106472

Please sign in to comment.