summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Derek Mauro <dmauro@google.com>2023-01-19 20:19:22 -0800
committerGravatar Copybara-Service <copybara-worker@google.com>2023-01-19 20:20:03 -0800
commit0d116682dd0e94dd97bbc483dd55437f626108e9 (patch)
tree08d5c97b1925f90bfa2bf60cc9a18890405d38d2
parent29b2a750258c7ba85204c121c6054aa2004b4818 (diff)
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.h6
-rw-r--r--ci/linux_docker_containers.sh2
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"