From 5648ffd8dd8be6f0bdb35cd823cd4050edca2933 Mon Sep 17 00:00:00 2001 From: Derek Mauro Date: Thu, 6 Feb 2025 06:37:19 -0800 Subject: [PATCH] Update CI for linux_gcc-floor to use GCC9, Bazel 7.5, and CMake 3.31.5. According to https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md the GCC7 is supported, but since it lacks complete C++17 support, we can ignore it. GCC8 is only supported by openSUSE/Leap and contains a pretty bad bug for us, so for it is best to test GCC9 instead. PiperOrigin-RevId: 723914768 Change-Id: I8e8b2d3128651d174effd214b416b0295d65a301 --- ci/linux_docker_containers.sh | 2 +- ci/linux_gcc-floor_libstdcxx_bazel.sh | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/ci/linux_docker_containers.sh b/ci/linux_docker_containers.sh index cb4893a2..5cf3b244 100644 --- a/ci/linux_docker_containers.sh +++ b/ci/linux_docker_containers.sh @@ -19,4 +19,4 @@ readonly LINUX_ALPINE_CONTAINER="gcr.io/google.com/absl-177019/alpine:20230612" readonly LINUX_CLANG_LATEST_CONTAINER="gcr.io/google.com/absl-177019/linux_hybrid-latest:20241218" readonly LINUX_ARM_CLANG_LATEST_CONTAINER="gcr.io/google.com/absl-177019/linux_arm_hybrid-latest:20231219" readonly LINUX_GCC_LATEST_CONTAINER="gcr.io/google.com/absl-177019/linux_hybrid-latest:20241218" -readonly LINUX_GCC_FLOOR_CONTAINER="gcr.io/google.com/absl-177019/linux_gcc-floor:20241218" +readonly LINUX_GCC_FLOOR_CONTAINER="gcr.io/google.com/absl-177019/linux_gcc-floor:20250205" diff --git a/ci/linux_gcc-floor_libstdcxx_bazel.sh b/ci/linux_gcc-floor_libstdcxx_bazel.sh index 0a353fcf..6b2d01f8 100755 --- a/ci/linux_gcc-floor_libstdcxx_bazel.sh +++ b/ci/linux_gcc-floor_libstdcxx_bazel.sh @@ -24,9 +24,6 @@ if [[ -z ${ABSEIL_ROOT:-} ]]; then ABSEIL_ROOT="$(realpath $(dirname ${0})/..)" fi -# TODO(absl-team): Update to linux_gcc-floor GCC8. C++17 support was incomplete -# in GCC7, so for now this script will trivally pass. -exit 0 if [[ -z ${STD:-} ]]; then STD="c++17" fi