diff options
author | Derek Mauro <dmauro@google.com> | 2023-01-19 20:19:22 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-01-19 20:20:03 -0800 |
commit | 0d116682dd0e94dd97bbc483dd55437f626108e9 (patch) | |
tree | 08d5c97b1925f90bfa2bf60cc9a18890405d38d2 | |
parent | 29b2a750258c7ba85204c121c6054aa2004b4818 (diff) | |
download | abseil-0d116682dd0e94dd97bbc483dd55437f626108e9.tar.gz abseil-0d116682dd0e94dd97bbc483dd55437f626108e9.tar.bz2 abseil-0d116682dd0e94dd97bbc483dd55437f626108e9.zip |
Update the Abseil minumum GCC version to GCC 7, which is
the earliest supported GCC version according to
https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md
PiperOrigin-RevId: 503337021
Change-Id: Ibc7b2453b7aa30779b76e2a4ad918e39d0efcabe
-rw-r--r-- | absl/base/policy_checks.h | 6 | ||||
-rw-r--r-- | ci/linux_docker_containers.sh | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/absl/base/policy_checks.h b/absl/base/policy_checks.h index 2626fb6a..b8cd4c94 100644 --- a/absl/base/policy_checks.h +++ b/absl/base/policy_checks.h @@ -50,11 +50,11 @@ #error "This package requires Visual Studio 2017 (MSVC++ 15.0) or higher." #endif -// We support gcc 5 and later. +// We support GCC 7 and later. // This minimum will go up. #if defined(__GNUC__) && !defined(__clang__) -#if __GNUC__ < 5 -#error "This package requires gcc 5 or higher." +#if __GNUC__ < 7 +#error "This package requires GCC 7 or higher." #endif #endif diff --git a/ci/linux_docker_containers.sh b/ci/linux_docker_containers.sh index f55e153b..1dd8b74a 100644 --- a/ci/linux_docker_containers.sh +++ b/ci/linux_docker_containers.sh @@ -18,4 +18,4 @@ readonly LINUX_ALPINE_CONTAINER="gcr.io/google.com/absl-177019/alpine:20201026" readonly LINUX_CLANG_LATEST_CONTAINER="gcr.io/google.com/absl-177019/linux_hybrid-latest:20220217" readonly LINUX_GCC_LATEST_CONTAINER="gcr.io/google.com/absl-177019/linux_hybrid-latest:20220217" -readonly LINUX_GCC_FLOOR_CONTAINER="gcr.io/google.com/absl-177019/linux_gcc-floor:20220621" +readonly LINUX_GCC_FLOOR_CONTAINER="gcr.io/google.com/absl-177019/linux_gcc-floor:20230120" |