From b843e9e4186fc3c8bd805a1685023e21c106248e Mon Sep 17 00:00:00 2001 From: Carlos O'Ryan Date: Fri, 1 Jul 2022 13:37:45 -0700 Subject: [PATCH] chore!: updates as Debian 9 (Stretch) is EOL (#9405) Debian 9 (Stretch) reached EOL on 2022-06-30. Therefore, we have stopped testing or supporting this distribution. This was the last distribution we supported that required GCC < 7.3, and/or CMake < 3.10. Starting with this release we require GCC >= 7.3 and CMake >= 3.10. This PR updates the documentation, CI builds and fixes some test problems that only show up with GCC circa 7.3 --- CHANGELOG.md | 7 + CMakeLists.txt | 6 +- README.md | 2 +- .../builds/{gcc-63.sh => gcc-7.3.sh} | 2 +- ci/cloudbuild/dockerfiles/centos-7.Dockerfile | 167 +++++++++++++++ .../dockerfiles/debian-stretch.Dockerfile | 170 --------------- .../demo-debian-stretch.Dockerfile | 193 ------------------ .../triggers/demo-debian-stretch-ci.yaml | 13 -- .../triggers/demo-debian-stretch-pr.yaml | 14 -- .../{gcc-63-ci.yaml => gcc-7.3-ci.yaml} | 6 +- .../{gcc-63-pr.yaml => gcc-7.3-pr.yaml} | 6 +- ci/generate-markdown/generate-packaging.sh | 1 - ci/verify_current_targets/CMakeLists.txt | 2 +- doc/packaging.md | 191 ----------------- generator/internal/scaffold_generator.cc | 4 +- google/cloud/README.md | 2 +- google/cloud/accessapproval/README.md | 2 +- .../accessapproval/quickstart/CMakeLists.txt | 2 +- google/cloud/accesscontextmanager/README.md | 2 +- .../quickstart/CMakeLists.txt | 2 +- google/cloud/apigateway/README.md | 2 +- .../apigateway/quickstart/CMakeLists.txt | 2 +- google/cloud/apigeeconnect/README.md | 2 +- .../apigeeconnect/quickstart/CMakeLists.txt | 2 +- google/cloud/appengine/README.md | 2 +- .../cloud/appengine/quickstart/CMakeLists.txt | 2 +- google/cloud/artifactregistry/README.md | 2 +- .../quickstart/CMakeLists.txt | 2 +- google/cloud/asset/README.md | 2 +- google/cloud/asset/quickstart/CMakeLists.txt | 2 +- google/cloud/assuredworkloads/README.md | 2 +- .../quickstart/CMakeLists.txt | 2 +- google/cloud/automl/README.md | 2 +- google/cloud/automl/quickstart/CMakeLists.txt | 2 +- google/cloud/baremetalsolution/README.md | 2 +- .../quickstart/CMakeLists.txt | 2 +- google/cloud/bigquery/README.md | 2 +- .../cloud/bigquery/quickstart/CMakeLists.txt | 2 +- google/cloud/bigtable/README.md | 2 +- .../cloud/bigtable/internal/defaults_test.cc | 2 +- .../internal/legacy_row_reader_test.cc | 4 + .../cloud/bigtable/quickstart/CMakeLists.txt | 2 +- google/cloud/billing/README.md | 2 +- .../cloud/billing/quickstart/CMakeLists.txt | 2 +- google/cloud/binaryauthorization/README.md | 2 +- .../quickstart/CMakeLists.txt | 2 +- google/cloud/channel/README.md | 2 +- .../cloud/channel/quickstart/CMakeLists.txt | 2 +- google/cloud/cloudbuild/README.md | 2 +- .../cloudbuild/quickstart/CMakeLists.txt | 2 +- google/cloud/composer/README.md | 2 +- .../cloud/composer/quickstart/CMakeLists.txt | 2 +- google/cloud/contactcenterinsights/README.md | 2 +- .../quickstart/CMakeLists.txt | 2 +- google/cloud/container/README.md | 2 +- .../cloud/container/quickstart/CMakeLists.txt | 2 +- google/cloud/containeranalysis/README.md | 2 +- .../quickstart/CMakeLists.txt | 2 +- google/cloud/datacatalog/README.md | 2 +- .../datacatalog/quickstart/CMakeLists.txt | 2 +- google/cloud/datamigration/README.md | 2 +- .../datamigration/quickstart/CMakeLists.txt | 2 +- google/cloud/dataplex/README.md | 2 +- .../cloud/dataplex/quickstart/CMakeLists.txt | 2 +- google/cloud/dataproc/README.md | 2 +- .../cloud/dataproc/quickstart/CMakeLists.txt | 2 +- google/cloud/debugger/README.md | 2 +- .../cloud/debugger/quickstart/CMakeLists.txt | 2 +- google/cloud/dialogflow_cx/README.md | 2 +- .../dialogflow_cx/quickstart/CMakeLists.txt | 2 +- google/cloud/dialogflow_es/README.md | 2 +- .../dialogflow_es/quickstart/CMakeLists.txt | 2 +- google/cloud/dlp/README.md | 2 +- google/cloud/dlp/quickstart/CMakeLists.txt | 2 +- google/cloud/documentai/README.md | 2 +- .../documentai/quickstart/CMakeLists.txt | 2 +- google/cloud/eventarc/README.md | 2 +- .../cloud/eventarc/quickstart/CMakeLists.txt | 2 +- google/cloud/filestore/README.md | 2 +- .../cloud/filestore/quickstart/CMakeLists.txt | 2 +- google/cloud/functions/README.md | 2 +- .../cloud/functions/quickstart/CMakeLists.txt | 2 +- google/cloud/gameservices/README.md | 2 +- .../gameservices/quickstart/CMakeLists.txt | 2 +- google/cloud/gkehub/README.md | 2 +- google/cloud/gkehub/quickstart/CMakeLists.txt | 2 +- google/cloud/grafeas/README.md | 2 +- google/cloud/iam/README.md | 2 +- google/cloud/iam/quickstart/CMakeLists.txt | 2 +- google/cloud/iap/README.md | 2 +- google/cloud/iap/quickstart/CMakeLists.txt | 2 +- google/cloud/ids/README.md | 2 +- google/cloud/ids/quickstart/CMakeLists.txt | 2 +- google/cloud/internal/curl_handle_test.cc | 41 ++-- google/cloud/iot/README.md | 2 +- google/cloud/iot/quickstart/CMakeLists.txt | 2 +- google/cloud/kms/README.md | 2 +- google/cloud/kms/quickstart/CMakeLists.txt | 2 +- google/cloud/language/README.md | 2 +- .../cloud/language/quickstart/CMakeLists.txt | 2 +- google/cloud/logging/README.md | 2 +- .../cloud/logging/quickstart/CMakeLists.txt | 2 +- google/cloud/managedidentities/README.md | 2 +- .../quickstart/CMakeLists.txt | 2 +- google/cloud/memcache/README.md | 2 +- .../cloud/memcache/quickstart/CMakeLists.txt | 2 +- google/cloud/monitoring/README.md | 2 +- .../monitoring/quickstart/CMakeLists.txt | 2 +- google/cloud/networkmanagement/README.md | 2 +- .../quickstart/CMakeLists.txt | 2 +- google/cloud/notebooks/README.md | 2 +- .../cloud/notebooks/quickstart/CMakeLists.txt | 2 +- google/cloud/optimization/README.md | 2 +- .../optimization/quickstart/CMakeLists.txt | 2 +- google/cloud/orgpolicy/README.md | 2 +- .../cloud/orgpolicy/quickstart/CMakeLists.txt | 2 +- google/cloud/osconfig/README.md | 2 +- .../cloud/osconfig/quickstart/CMakeLists.txt | 2 +- google/cloud/oslogin/README.md | 2 +- .../cloud/oslogin/quickstart/CMakeLists.txt | 2 +- google/cloud/policytroubleshooter/README.md | 2 +- .../quickstart/CMakeLists.txt | 2 +- google/cloud/privateca/README.md | 2 +- .../cloud/privateca/quickstart/CMakeLists.txt | 2 +- google/cloud/profiler/README.md | 2 +- .../cloud/profiler/quickstart/CMakeLists.txt | 2 +- google/cloud/pubsub/README.md | 2 +- google/cloud/pubsub/quickstart/CMakeLists.txt | 2 +- google/cloud/pubsublite/README.md | 2 +- .../pubsublite/quickstart/CMakeLists.txt | 2 +- google/cloud/recommender/README.md | 2 +- .../recommender/quickstart/CMakeLists.txt | 2 +- google/cloud/redis/README.md | 2 +- google/cloud/redis/quickstart/CMakeLists.txt | 2 +- google/cloud/resourcemanager/README.md | 2 +- .../resourcemanager/quickstart/CMakeLists.txt | 2 +- google/cloud/resourcesettings/README.md | 2 +- .../quickstart/CMakeLists.txt | 2 +- google/cloud/retail/README.md | 2 +- google/cloud/retail/quickstart/CMakeLists.txt | 2 +- google/cloud/scheduler/README.md | 2 +- .../cloud/scheduler/quickstart/CMakeLists.txt | 2 +- google/cloud/secretmanager/README.md | 2 +- .../secretmanager/quickstart/CMakeLists.txt | 2 +- google/cloud/securitycenter/README.md | 2 +- .../securitycenter/quickstart/CMakeLists.txt | 2 +- google/cloud/servicecontrol/README.md | 2 +- .../servicecontrol/quickstart/CMakeLists.txt | 2 +- google/cloud/servicedirectory/README.md | 2 +- .../quickstart/CMakeLists.txt | 2 +- google/cloud/servicemanagement/README.md | 2 +- .../quickstart/CMakeLists.txt | 2 +- google/cloud/serviceusage/README.md | 2 +- .../serviceusage/quickstart/CMakeLists.txt | 2 +- google/cloud/shell/README.md | 2 +- google/cloud/shell/quickstart/CMakeLists.txt | 2 +- google/cloud/spanner/README.md | 2 +- .../cloud/spanner/internal/defaults_test.cc | 4 +- .../cloud/spanner/quickstart/CMakeLists.txt | 2 +- google/cloud/speech/README.md | 2 +- google/cloud/speech/quickstart/CMakeLists.txt | 2 +- google/cloud/storage/README.md | 2 +- .../storage/internal/curl_handle_test.cc | 41 ++-- .../cloud/storage/quickstart/CMakeLists.txt | 2 +- .../curl_download_request_integration_test.cc | 10 +- .../tests/curl_request_integration_test.cc | 10 +- google/cloud/storagetransfer/README.md | 2 +- .../storagetransfer/quickstart/CMakeLists.txt | 2 +- google/cloud/talent/README.md | 2 +- google/cloud/talent/quickstart/CMakeLists.txt | 2 +- google/cloud/tasks/README.md | 2 +- google/cloud/tasks/quickstart/CMakeLists.txt | 2 +- google/cloud/texttospeech/README.md | 2 +- .../texttospeech/quickstart/CMakeLists.txt | 2 +- google/cloud/tpu/README.md | 2 +- google/cloud/tpu/quickstart/CMakeLists.txt | 2 +- google/cloud/trace/README.md | 2 +- google/cloud/trace/quickstart/CMakeLists.txt | 2 +- google/cloud/translate/README.md | 2 +- .../cloud/translate/quickstart/CMakeLists.txt | 2 +- google/cloud/video/README.md | 2 +- google/cloud/video/quickstart/CMakeLists.txt | 2 +- google/cloud/videointelligence/README.md | 2 +- .../quickstart/CMakeLists.txt | 2 +- google/cloud/vision/README.md | 2 +- google/cloud/vision/quickstart/CMakeLists.txt | 2 +- google/cloud/vmmigration/README.md | 2 +- .../vmmigration/quickstart/CMakeLists.txt | 2 +- google/cloud/vpcaccess/README.md | 2 +- .../cloud/vpcaccess/quickstart/CMakeLists.txt | 2 +- google/cloud/webrisk/README.md | 2 +- .../cloud/webrisk/quickstart/CMakeLists.txt | 2 +- google/cloud/websecurityscanner/README.md | 2 +- .../quickstart/CMakeLists.txt | 2 +- google/cloud/workflows/README.md | 2 +- .../cloud/workflows/quickstart/CMakeLists.txt | 2 +- 196 files changed, 423 insertions(+), 821 deletions(-) rename ci/cloudbuild/builds/{gcc-63.sh => gcc-7.3.sh} (96%) create mode 100644 ci/cloudbuild/dockerfiles/centos-7.Dockerfile delete mode 100644 ci/cloudbuild/dockerfiles/debian-stretch.Dockerfile delete mode 100644 ci/cloudbuild/dockerfiles/demo-debian-stretch.Dockerfile delete mode 100644 ci/cloudbuild/triggers/demo-debian-stretch-ci.yaml delete mode 100644 ci/cloudbuild/triggers/demo-debian-stretch-pr.yaml rename ci/cloudbuild/triggers/{gcc-63-ci.yaml => gcc-7.3-ci.yaml} (74%) rename ci/cloudbuild/triggers/{gcc-63-pr.yaml => gcc-7.3-pr.yaml} (80%) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8e6c6404bb3b..8c08f3ead4bdb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -112,6 +112,13 @@ transition to C++ >= 14 we will, if requested, backport critical fixes to v1.42.0 until 2023-07-01. After 2023-07-01 we will drop all support to v1.42.0 and earlier versions. +**Debian 9 (Stretch) is EOL** + +Debian 9 (Stretch) reached EOL on 2022-06-30. Therefore, we have stopped testing +or supporting this distribution. This was the last distribution we supported +that required GCC < 7.3, and/or CMake < 3.10. Starting with this release we +require CMake >= 3.10, and only test with GCC >= 7.3. + **OTHER CHANGES** We are introducing a new client library. While we do not anticipate any API diff --git a/CMakeLists.txt b/CMakeLists.txt index 61553a0cba451..a0d07d1a91400 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ # limitations under the License. # ~~~ -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) # Define the project name and where to report bugs. set(PACKAGE_BUGREPORT "https://github.com/googleapis/google-cloud-cpp/issues") @@ -44,9 +44,9 @@ if (APPLE AND NOT DEFINED CMAKE_CXX_STANDARD) endif () if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") - if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 6.3) + if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.3) message( - WARNING "The `google-cloud-cpp` library is tested with GCC >= 6.3." + WARNING "The `google-cloud-cpp` library is tested with GCC >= 7.3." " We will consider patches for older versions.") endif () elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") diff --git a/README.md b/README.md index d6a0072596cc9..cc9f5f918be49 100644 --- a/README.md +++ b/README.md @@ -397,7 +397,7 @@ int main(int argc, char* argv[]) { ## Support * This project supports Windows, macOS, Linux -* This project supports C++14 (and higher) compilers (we test with GCC >= 6.3, +* This project supports C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * This project supports Bazel (>= 4.0) and CMake (>= 3.5) builds. See the [Quickstart examples](https://github.com/googleapis/google-cloud-cpp#quickstart) diff --git a/ci/cloudbuild/builds/gcc-63.sh b/ci/cloudbuild/builds/gcc-7.3.sh similarity index 96% rename from ci/cloudbuild/builds/gcc-63.sh rename to ci/cloudbuild/builds/gcc-7.3.sh index fe82f96e3a161..937c6bd46e3c7 100755 --- a/ci/cloudbuild/builds/gcc-63.sh +++ b/ci/cloudbuild/builds/gcc-7.3.sh @@ -20,7 +20,7 @@ source "$(dirname "$0")/../../lib/init.sh" source module ci/cloudbuild/builds/lib/cmake.sh # We run this test in a docker image that includes the oldest GCC that we -# support, which happens to be 6.3 currently. +# support, which happens to be 7.3 currently. export CC=gcc export CXX=g++ diff --git a/ci/cloudbuild/dockerfiles/centos-7.Dockerfile b/ci/cloudbuild/dockerfiles/centos-7.Dockerfile new file mode 100644 index 0000000000000..898b410a5016b --- /dev/null +++ b/ci/cloudbuild/dockerfiles/centos-7.Dockerfile @@ -0,0 +1,167 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +FROM centos:7 + +# First install the development tools and OpenSSL. The development tools +# distributed with CentOS 7 are too old to build the project. In these +# instructions, we use `cmake3` and `gcc-7` obtained from +# [Software Collections](https://www.softwarecollections.org/). + +RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm +RUN yum install -y centos-release-scl yum-utils +RUN yum-config-manager --enable rhel-server-rhscl-7-rpms +RUN yum makecache && \ + yum install -y automake ccache cmake3 curl-devel devtoolset-7 gcc gcc-c++ \ + git libtool make ninja-build openssl-devel patch re2-devel tar wget \ + which zlib-devel +RUN ln -sf /usr/bin/cmake3 /usr/bin/cmake && ln -sf /usr/bin/ctest3 /usr/bin/ctest + +# In order to use the `devtoolset-7` Software Collection we're supposed to run +# `scl enable devtoolset-7 bash`, which starts a new shell with the environment +# configured correctly. However, we can't do that in this Dockerfile, AND we +# want the instructions that we generate for the user to say the right thing. +# So this block is ignored, and we manually set some environment variables to +# make the devtoolset-7 available. After this ignored block, we'll include the +# correct instructions for the user. NOTE: These env values were obtained by +# manually running the `scl ...` command (above) then copying the values set in +# its environment. +ENV PATH /opt/rh/devtoolset-7/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +ENV LD_LIBRARY_PATH /opt/rh/devtoolset-7/root/usr/lib64:/opt/rh/devtoolset-7/root/usr/lib:/opt/rh/devtoolset-7/root/usr/lib64/dyninst:/opt/rh/devtoolset-7/root/usr/lib/dyninst:/opt/rh/devtoolset-7/root/usr/lib64:/opt/rh/devtoolset-7/root/usr/lib + +# CentOS-7 ships with `pkg-config` 0.27.1, which has a +# [bug](https://bugs.freedesktop.org/show_bug.cgi?id=54716) that can make +# invocations take extremely long to complete. + +WORKDIR /var/tmp/build/pkg-config-cpp +RUN curl -sSL https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz | \ + tar -xzf - --strip-components=1 && \ + ./configure --with-internal-glib && \ + make -j "$(nproc)" && \ + make install && \ + ldconfig && cd /var/tmp && rm -fr build + +# The following steps will install libraries and tools in `/usr/local`. By +# default, CentOS-7 does not search for shared libraries in these directories, +# there are multiple ways to solve this problem, the following steps are one +# solution: + +RUN (echo "/usr/local/lib" ; echo "/usr/local/lib64") | \ + tee /etc/ld.so.conf.d/usrlocal.conf +ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig +ENV PATH=/usr/local/bin:${PATH} + +WORKDIR /var/tmp/build/abseil-cpp +RUN curl -sSL https://github.com/abseil/abseil-cpp/archive/20211102.0.tar.gz | \ + tar -xzf - --strip-components=1 && \ + sed -i 's/^#define ABSL_OPTION_USE_\(.*\) 2/#define ABSL_OPTION_USE_\1 0/' "absl/base/options.h" && \ + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTING=OFF \ + -DBUILD_SHARED_LIBS=yes \ + -GNinja -S . -B cmake-out && \ + cmake --build cmake-out && \ + cmake --build cmake-out --target install && \ + ldconfig && cd /var/tmp && rm -fr build + +WORKDIR /var/tmp/build/protobuf +RUN curl -sSL https://github.com/protocolbuffers/protobuf/archive/v21.2.tar.gz | \ + tar -xzf - --strip-components=1 && \ + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_SHARED_LIBS=yes \ + -Dprotobuf_BUILD_TESTS=OFF \ + -Dprotobuf_ABSL_PROVIDER=package \ + -GNinja -S . -B cmake-out && \ + cmake --build cmake-out && \ + cmake --build cmake-out --target install && \ + ldconfig && cd /var/tmp && rm -fr build + +WORKDIR /var/tmp/build/c-ares +RUN curl -sSL https://github.com/c-ares/c-ares/archive/cares-1_14_0.tar.gz | \ + tar -xzf - --strip-components=1 && \ + ./buildconf && ./configure && make -j "$(nproc)" && \ + make install && \ + ldconfig && cd /var/tmp && rm -fr build + +WORKDIR /var/tmp/build/grpc +RUN curl -sSL https://github.com/grpc/grpc/archive/v1.47.0.tar.gz | \ + tar -xzf - --strip-components=1 && \ + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_SHARED_LIBS=yes \ + -DgRPC_INSTALL=ON \ + -DgRPC_BUILD_TESTS=OFF \ + -DgRPC_ABSL_PROVIDER=package \ + -DgRPC_CARES_PROVIDER=package \ + -DgRPC_PROTOBUF_PROVIDER=package \ + -DgRPC_RE2_PROVIDER=package \ + -DgRPC_SSL_PROVIDER=package \ + -DgRPC_ZLIB_PROVIDER=package \ + -GNinja -S . -B cmake-out && \ + cmake --build cmake-out && \ + cmake --build cmake-out --target install && \ + ldconfig && cd /var/tmp && rm -fr build + +WORKDIR /var/tmp/build/crc32c +RUN curl -sSL https://github.com/google/crc32c/archive/1.1.2.tar.gz | \ + tar -xzf - --strip-components=1 && \ + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_SHARED_LIBS=yes \ + -DCRC32C_BUILD_TESTS=OFF \ + -DCRC32C_BUILD_BENCHMARKS=OFF \ + -DCRC32C_USE_GLOG=OFF \ + -GNinja -S . -B cmake-out && \ + cmake --build cmake-out && \ + cmake --build cmake-out --target install && \ + ldconfig && cd /var/tmp && rm -fr build + +WORKDIR /var/tmp/build/json +RUN curl -sSL https://github.com/nlohmann/json/archive/v3.10.5.tar.gz | \ + tar -xzf - --strip-components=1 && \ + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_SHARED_LIBS=yes \ + -DBUILD_TESTING=OFF \ + -DJSON_BuildTests=OFF \ + -GNinja -S . -B cmake-out && \ + cmake --build cmake-out --target install && \ + ldconfig && cd /var/tmp && rm -fr build + +# Install googletest, remove the downloaded files and the temporary artifacts +# after a successful build to keep the image smaller (and with fewer layers) +WORKDIR /var/tmp/build +RUN curl -sSL https://github.com/google/googletest/archive/release-1.11.0.tar.gz | \ + tar -xzf - --strip-components=1 && \ + cmake \ + -DCMAKE_BUILD_TYPE="Release" \ + -DBUILD_SHARED_LIBS=yes \ + -GNinja -S . -B cmake-out && \ + cmake --build cmake-out --target install && \ + ldconfig && cd /var/tmp && rm -fr build + +# Download and compile Google microbenchmark support library: +WORKDIR /var/tmp/build +RUN curl -sSL https://github.com/google/benchmark/archive/v1.6.1.tar.gz | \ + tar -xzf - --strip-components=1 && \ + cmake \ + -DCMAKE_BUILD_TYPE="Release" \ + -DBUILD_SHARED_LIBS=yes \ + -DBENCHMARK_ENABLE_TESTING=OFF \ + -GNinja -S . -B cmake-out && \ + cmake --build cmake-out --target install && \ + ldconfig && cd /var/tmp && rm -fr build + +RUN ldconfig /usr/local/lib* diff --git a/ci/cloudbuild/dockerfiles/debian-stretch.Dockerfile b/ci/cloudbuild/dockerfiles/debian-stretch.Dockerfile deleted file mode 100644 index 8a9ebd6555420..0000000000000 --- a/ci/cloudbuild/dockerfiles/debian-stretch.Dockerfile +++ /dev/null @@ -1,170 +0,0 @@ -# Copyright 2021 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -FROM debian:stretch -ARG NCPU=4 - -RUN apt-get update && \ - apt-get --no-install-recommends install -y \ - apt-transport-https \ - apt-utils \ - automake \ - build-essential \ - ccache \ - cmake \ - ca-certificates \ - curl \ - gcc g++ \ - git \ - libcurl4-openssl-dev \ - libssl1.0-dev \ - libtool \ - m4 \ - make \ - ninja-build \ - patch \ - pkg-config \ - python3 \ - python3-dev \ - python3-pip \ - tar \ - unzip \ - wget \ - zip \ - zlib1g-dev - -# Install all the direct (and indirect) dependencies for google-cloud-cpp. -# Use a different directory for each build, and remove the downloaded -# files and any temporary artifacts after a successful build to keep the -# image smaller (and with fewer layers) - -WORKDIR /var/tmp/build/abseil-cpp -RUN curl -sSL https://github.com/abseil/abseil-cpp/archive/20211102.0.tar.gz | \ - tar -xzf - --strip-components=1 && \ - sed -i 's/^#define ABSL_OPTION_USE_\(.*\) 2/#define ABSL_OPTION_USE_\1 0/' "absl/base/options.h" && \ - cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_TESTING=OFF \ - -DBUILD_SHARED_LIBS=yes \ - -DCMAKE_CXX_STANDARD=11 \ - -H. -Bcmake-out -GNinja && \ - cmake --build cmake-out -- -j ${NCPU:-4} && \ - cmake --build cmake-out --target install && \ - ldconfig && \ - cd /var/tmp && rm -fr build - -WORKDIR /var/tmp/build/googletest -RUN curl -sSL https://github.com/google/googletest/archive/release-1.11.0.tar.gz | \ - tar -xzf - --strip-components=1 && \ - cmake \ - -DCMAKE_BUILD_TYPE="Release" \ - -DBUILD_SHARED_LIBS=yes \ - -DCMAKE_CXX_STANDARD=11 \ - -H. -Bcmake-out -GNinja && \ - cmake --build cmake-out --target install && \ - ldconfig && \ - cd /var/tmp && rm -fr build - -WORKDIR /var/tmp/build/benchmark -RUN curl -sSL https://github.com/google/benchmark/archive/v1.6.1.tar.gz | \ - tar -xzf - --strip-components=1 && \ - cmake \ - -DCMAKE_BUILD_TYPE="Release" \ - -DBUILD_SHARED_LIBS=yes \ - -DBENCHMARK_ENABLE_TESTING=OFF \ - -H. -Bcmake-out -GNinja && \ - cmake --build cmake-out --target install && \ - ldconfig && \ - cd /var/tmp && rm -fr build - -WORKDIR /var/tmp/build/crc32c -RUN curl -sSL https://github.com/google/crc32c/archive/1.1.2.tar.gz | \ - tar -xzf - --strip-components=1 && \ - cmake \ - -DCMAKE_BUILD_TYPE="Release" \ - -DBUILD_SHARED_LIBS=yes \ - -DCRC32C_BUILD_TESTS=OFF \ - -DCRC32C_BUILD_BENCHMARKS=OFF \ - -DCRC32C_USE_GLOG=OFF \ - -H. -Bcmake-out -GNinja && \ - cmake --build cmake-out --target install && \ - ldconfig && \ - cd /var/tmp && rm -fr build - -WORKDIR /var/tmp/build/nlohmann-json -RUN curl -sSL https://github.com/nlohmann/json/archive/v3.10.5.tar.gz | \ - tar -xzf - --strip-components=1 && \ - cmake \ - -DCMAKE_BUILD_TYPE="Release" \ - -DBUILD_SHARED_LIBS=yes \ - -DBUILD_TESTING=OFF \ - -DJSON_BuildTests=OFF \ - -H. -Bcmake-out -GNinja && \ - cmake --build cmake-out --target install -- -j ${NCPU} && \ - ldconfig && \ - cd /var/tmp && rm -fr build - -WORKDIR /var/tmp/build/protobuf -RUN curl -sSL https://github.com/protocolbuffers/protobuf/archive/v21.2.tar.gz | \ - tar -xzf - --strip-components=1 && \ - cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=yes \ - -Dprotobuf_BUILD_TESTS=OFF \ - -Dprotobuf_ABSL_PROVIDER=package \ - -H. -Bcmake-out -GNinja && \ - cmake --build cmake-out --target install -- -j ${NCPU} && \ - ldconfig && \ - cd /var/tmp && rm -fr build - -WORKDIR /var/tmp/build/c-ares -RUN curl -sSL https://github.com/c-ares/c-ares/archive/refs/tags/cares-1_17_1.tar.gz | \ - tar -xzf - --strip-components=1 && \ - cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=yes \ - -H. -Bcmake-out -GNinja && \ - cmake --build cmake-out --target install -- -j ${NCPU} && \ - ldconfig && \ - cd /var/tmp && rm -fr build - -WORKDIR /var/tmp/build/re2 -RUN curl -sSL https://github.com/google/re2/archive/2022-04-01.tar.gz | \ - tar -xzf - --strip-components=1 && \ - cmake -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=ON \ - -DRE2_BUILD_TESTING=OFF \ - -H. -Bcmake-out -GNinja && \ - cmake --build cmake-out --target install -- -j ${NCPU} && \ - ldconfig && \ - cd /var/tmp && rm -fr build - -WORKDIR /var/tmp/build/grpc -RUN curl -sSL https://github.com/grpc/grpc/archive/v1.47.0.tar.gz | \ - tar -xzf - --strip-components=1 && \ - cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=ON \ - -DgRPC_INSTALL=ON \ - -DgRPC_BUILD_TESTS=OFF \ - -DgRPC_ABSL_PROVIDER=package \ - -DgRPC_CARES_PROVIDER=package \ - -DgRPC_PROTOBUF_PROVIDER=package \ - -DgRPC_RE2_PROVIDER=package \ - -DgRPC_SSL_PROVIDER=package \ - -DgRPC_ZLIB_PROVIDER=package \ - -H. -Bcmake-out -GNinja && \ - cmake --build cmake-out --target install -- -j ${NCPU} && \ - ldconfig && \ - cd /var/tmp && rm -fr build diff --git a/ci/cloudbuild/dockerfiles/demo-debian-stretch.Dockerfile b/ci/cloudbuild/dockerfiles/demo-debian-stretch.Dockerfile deleted file mode 100644 index efe75ab5f357f..0000000000000 --- a/ci/cloudbuild/dockerfiles/demo-debian-stretch.Dockerfile +++ /dev/null @@ -1,193 +0,0 @@ -# Copyright 2021 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -FROM debian:stretch -ARG NCPU=4 - -## [BEGIN packaging.md] - -# First install the development tools and libcurl. -# On Debian 9, libcurl links against openssl-1.0.2, and one must link -# against the same version or risk an inconsistent configuration of the library. -# This is especially important for multithreaded applications, as openssl-1.0.2 -# requires explicitly setting locking callbacks. Therefore, to use libcurl one -# must link against openssl-1.0.2. To do so, we need to install libssl1.0-dev. -# Note that this removes libssl-dev if you have it installed already, and would -# prevent you from compiling against openssl-1.1.0. - -# ```bash -RUN apt-get update && \ - apt-get --no-install-recommends install -y apt-transport-https apt-utils \ - automake build-essential ccache cmake ca-certificates curl git \ - gcc g++ libcurl4-openssl-dev libssl1.0-dev libtool make m4 pkg-config \ - tar wget zlib1g-dev -# ``` - -# #### Abseil - -# We need a recent version of Abseil. - -# :warning: By default, Abseil's ABI changes depending on whether it is used -# with C++ >= 17 enabled or not. Installing Abseil with the default -# configuration is error-prone, unless you can guarantee that all the code using -# Abseil (gRPC, google-cloud-cpp, your own code, etc.) is compiled with the same -# C++ version. We recommend that you switch the default configuration to pin -# Abseil's ABI to the version used at compile time. In this case, the compiler -# defaults to C++14. Therefore, we change `absl/base/options.h` to **always** -# use `absl::any`, `absl::string_view`, and `absl::variant`. See -# [abseil/abseil-cpp#696] for more information. - -# ```bash -WORKDIR /var/tmp/build/abseil-cpp -RUN curl -sSL https://github.com/abseil/abseil-cpp/archive/20211102.0.tar.gz | \ - tar -xzf - --strip-components=1 && \ - sed -i 's/^#define ABSL_OPTION_USE_\(.*\) 2/#define ABSL_OPTION_USE_\1 0/' "absl/base/options.h" && \ - cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_TESTING=OFF \ - -DBUILD_SHARED_LIBS=yes \ - -H. -Bcmake-out && \ - cmake --build cmake-out -- -j ${NCPU:-4} && \ - cmake --build cmake-out --target install -- -j ${NCPU:-4} && \ - ldconfig -# ``` - -# #### Protobuf - -# We need to install a version of Protobuf that is recent enough to support the -# Google Cloud Platform proto files: - -# ```bash -WORKDIR /var/tmp/build/protobuf -RUN curl -sSL https://github.com/protocolbuffers/protobuf/archive/v21.2.tar.gz | \ - tar -xzf - --strip-components=1 && \ - cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=yes \ - -Dprotobuf_BUILD_TESTS=OFF \ - -Dprotobuf_ABSL_PROVIDER=package \ - -H. -Bcmake-out && \ - cmake --build cmake-out -- -j ${NCPU:-4} && \ - cmake --build cmake-out --target install -- -j ${NCPU:-4} && \ - ldconfig -# ``` - -# #### c-ares - -# Recent versions of gRPC require c-ares >= 1.13, while Debian Stretch -# distributes c-ares-1.12. Manually install a newer version: - -# ```bash -WORKDIR /var/tmp/build/c-ares -RUN curl -sSL https://github.com/c-ares/c-ares/archive/cares-1_14_0.tar.gz | \ - tar -xzf - --strip-components=1 && \ - ./buildconf && ./configure && make -j ${NCPU:-4} && \ - make install && \ - ldconfig -# ``` - -# #### RE2 - -# We need a newer version of RE2 than the system package provides. - -# ```bash -WORKDIR /var/tmp/build/re2 -RUN curl -sSL https://github.com/google/re2/archive/2022-04-01.tar.gz | \ - tar -xzf - --strip-components=1 && \ - cmake -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=ON \ - -DRE2_BUILD_TESTING=OFF \ - -H. -Bcmake-out && \ - cmake --build cmake-out -- -j ${NCPU:-4} && \ - cmake --build cmake-out --target install -- -j ${NCPU:-4} && \ - ldconfig -# ``` - -# #### gRPC - -# To install gRPC we first need to configure pkg-config to find the version of -# Protobuf we just installed in `/usr/local`: - -# ```bash -WORKDIR /var/tmp/build/grpc -RUN curl -sSL https://github.com/grpc/grpc/archive/v1.47.0.tar.gz | \ - tar -xzf - --strip-components=1 && \ - cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=yes \ - -DgRPC_INSTALL=ON \ - -DgRPC_BUILD_TESTS=OFF \ - -DgRPC_ABSL_PROVIDER=package \ - -DgRPC_CARES_PROVIDER=package \ - -DgRPC_PROTOBUF_PROVIDER=package \ - -DgRPC_RE2_PROVIDER=package \ - -DgRPC_SSL_PROVIDER=package \ - -DgRPC_ZLIB_PROVIDER=package \ - -H. -Bcmake-out && \ - cmake --build cmake-out -- -j ${NCPU:-4} && \ - cmake --build cmake-out --target install -- -j ${NCPU:-4} && \ - ldconfig -# ``` - -# #### crc32c - -# The project depends on the Crc32c library, we need to compile this from -# source: - -# ```bash -WORKDIR /var/tmp/build/crc32c -RUN curl -sSL https://github.com/google/crc32c/archive/1.1.2.tar.gz | \ - tar -xzf - --strip-components=1 && \ - cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=yes \ - -DCRC32C_BUILD_TESTS=OFF \ - -DCRC32C_BUILD_BENCHMARKS=OFF \ - -DCRC32C_USE_GLOG=OFF \ - -H. -Bcmake-out && \ - cmake --build cmake-out -- -j ${NCPU:-4} && \ - cmake --build cmake-out --target install -- -j ${NCPU:-4} && \ - ldconfig -# ``` - -# #### nlohmann_json library - -# The project depends on the nlohmann_json library. We use CMake to -# install it as this installs the necessary CMake configuration files. -# Note that this is a header-only library, and often installed manually. -# This leaves your environment without support for CMake pkg-config. - -# ```bash -WORKDIR /var/tmp/build/json -RUN curl -sSL https://github.com/nlohmann/json/archive/v3.10.5.tar.gz | \ - tar -xzf - --strip-components=1 && \ - sed -i \ - -e '1s/VERSION 3.8/VERSION 3.5/' \ - -e '/^target_compile_features/d' \ - CMakeLists.txt && \ - cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=yes \ - -DBUILD_TESTING=OFF \ - -DJSON_BuildTests=OFF \ - -H. -Bcmake-out && \ - cmake --build cmake-out --target install -- -j ${NCPU:-4} && \ - ldconfig -# ``` - -## [DONE packaging.md] - -# Some of the above libraries may have installed in /usr/local, so make sure -# those library directories will be found. -RUN ldconfig /usr/local/lib* diff --git a/ci/cloudbuild/triggers/demo-debian-stretch-ci.yaml b/ci/cloudbuild/triggers/demo-debian-stretch-ci.yaml deleted file mode 100644 index 396209c883c7e..0000000000000 --- a/ci/cloudbuild/triggers/demo-debian-stretch-ci.yaml +++ /dev/null @@ -1,13 +0,0 @@ -filename: ci/cloudbuild/cloudbuild.yaml -github: - name: google-cloud-cpp - owner: googleapis - push: - branch: ^(master|main|v\d+\..*)$ -name: demo-debian-stretch-ci -substitutions: - _BUILD_NAME: demo-install - _DISTRO: demo-debian-stretch - _TRIGGER_TYPE: ci -tags: -- ci diff --git a/ci/cloudbuild/triggers/demo-debian-stretch-pr.yaml b/ci/cloudbuild/triggers/demo-debian-stretch-pr.yaml deleted file mode 100644 index 9425f96e53bb0..0000000000000 --- a/ci/cloudbuild/triggers/demo-debian-stretch-pr.yaml +++ /dev/null @@ -1,14 +0,0 @@ -filename: ci/cloudbuild/cloudbuild.yaml -github: - name: google-cloud-cpp - owner: googleapis - pullRequest: - branch: ^(master|main|v\d+\..*)$ - commentControl: COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY -name: demo-debian-stretch-pr -substitutions: - _BUILD_NAME: demo-install - _DISTRO: demo-debian-stretch - _TRIGGER_TYPE: pr -tags: -- pr diff --git a/ci/cloudbuild/triggers/gcc-63-ci.yaml b/ci/cloudbuild/triggers/gcc-7.3-ci.yaml similarity index 74% rename from ci/cloudbuild/triggers/gcc-63-ci.yaml rename to ci/cloudbuild/triggers/gcc-7.3-ci.yaml index 3c4ac05f3821e..dd01e9dba732c 100644 --- a/ci/cloudbuild/triggers/gcc-63-ci.yaml +++ b/ci/cloudbuild/triggers/gcc-7.3-ci.yaml @@ -4,10 +4,10 @@ github: owner: googleapis push: branch: ^(master|main|v\d+\..*)$ -name: gcc-63-ci +name: gcc-7.3-ci substitutions: - _BUILD_NAME: gcc-63 - _DISTRO: debian-stretch + _BUILD_NAME: gcc-7.3 + _DISTRO: centos-7 _TRIGGER_TYPE: ci tags: - ci diff --git a/ci/cloudbuild/triggers/gcc-63-pr.yaml b/ci/cloudbuild/triggers/gcc-7.3-pr.yaml similarity index 80% rename from ci/cloudbuild/triggers/gcc-63-pr.yaml rename to ci/cloudbuild/triggers/gcc-7.3-pr.yaml index 7de84e18bffc8..9c261383127d4 100644 --- a/ci/cloudbuild/triggers/gcc-63-pr.yaml +++ b/ci/cloudbuild/triggers/gcc-7.3-pr.yaml @@ -5,10 +5,10 @@ github: pullRequest: branch: ^(master|main|v\d+\..*)$ commentControl: COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY -name: gcc-63-pr +name: gcc-7.3-pr substitutions: - _BUILD_NAME: gcc-63 - _DISTRO: debian-stretch + _BUILD_NAME: gcc-7.3 + _DISTRO: centos-7 _TRIGGER_TYPE: pr tags: - pr diff --git a/ci/generate-markdown/generate-packaging.sh b/ci/generate-markdown/generate-packaging.sh index a4b71a1bd0379..84f2e0ca64818 100755 --- a/ci/generate-markdown/generate-packaging.sh +++ b/ci/generate-markdown/generate-packaging.sh @@ -186,7 +186,6 @@ DOCKER_DISTROS=( "demo-ubuntu-bionic.Dockerfile,Ubuntu (18.04 LTS - Bionic Beaver)" "demo-debian-bullseye.Dockerfile,Debian (11 - Bullseye)" "demo-debian-buster.Dockerfile,Debian (10 - Buster)" - "demo-debian-stretch.Dockerfile,Debian (9 - Stretch)" "demo-rockylinux-8.Dockerfile,Rocky Linux (8)" "demo-centos-7.Dockerfile,CentOS (7)" ) diff --git a/ci/verify_current_targets/CMakeLists.txt b/ci/verify_current_targets/CMakeLists.txt index 4637fcdb5964f..44ccdc57f0c40 100644 --- a/ci/verify_current_targets/CMakeLists.txt +++ b/ci/verify_current_targets/CMakeLists.txt @@ -14,7 +14,7 @@ # limitations under the License. # ~~~ -cmake_minimum_required(VERSION 3.6) +cmake_minimum_required(VERSION 3.10) project(verify-exported-targets CXX) # We list the common libraries first because we want to load their packages diff --git a/doc/packaging.md b/doc/packaging.md index 5637744a02525..ab119385a4e01 100644 --- a/doc/packaging.md +++ b/doc/packaging.md @@ -1328,197 +1328,6 @@ cmake --build cmake-out --target install -
-Debian (9 - Stretch) -
- -First install the development tools and libcurl. -On Debian 9, libcurl links against openssl-1.0.2, and one must link -against the same version or risk an inconsistent configuration of the library. -This is especially important for multithreaded applications, as openssl-1.0.2 -requires explicitly setting locking callbacks. Therefore, to use libcurl one -must link against openssl-1.0.2. To do so, we need to install libssl1.0-dev. -Note that this removes libssl-dev if you have it installed already, and would -prevent you from compiling against openssl-1.1.0. - -```bash -sudo apt-get update && \ -sudo apt-get --no-install-recommends install -y apt-transport-https apt-utils \ - automake build-essential ccache cmake ca-certificates curl git \ - gcc g++ libcurl4-openssl-dev libssl1.0-dev libtool make m4 pkg-config \ - tar wget zlib1g-dev -``` - -#### Abseil - -We need a recent version of Abseil. - -:warning: By default, Abseil's ABI changes depending on whether it is used -with C++ >= 17 enabled or not. Installing Abseil with the default -configuration is error-prone, unless you can guarantee that all the code using -Abseil (gRPC, google-cloud-cpp, your own code, etc.) is compiled with the same -C++ version. We recommend that you switch the default configuration to pin -Abseil's ABI to the version used at compile time. In this case, the compiler -defaults to C++14. Therefore, we change `absl/base/options.h` to **always** -use `absl::any`, `absl::string_view`, and `absl::variant`. See -[abseil/abseil-cpp#696] for more information. - -```bash -mkdir -p $HOME/Downloads/abseil-cpp && cd $HOME/Downloads/abseil-cpp -curl -sSL https://github.com/abseil/abseil-cpp/archive/20211102.0.tar.gz | \ - tar -xzf - --strip-components=1 && \ - sed -i 's/^#define ABSL_OPTION_USE_\(.*\) 2/#define ABSL_OPTION_USE_\1 0/' "absl/base/options.h" && \ - cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_TESTING=OFF \ - -DBUILD_SHARED_LIBS=yes \ - -H. -Bcmake-out && \ - cmake --build cmake-out -- -j ${NCPU:-4} && \ -sudo cmake --build cmake-out --target install -- -j ${NCPU:-4} && \ -sudo ldconfig -``` - -#### Protobuf - -We need to install a version of Protobuf that is recent enough to support the -Google Cloud Platform proto files: - -```bash -mkdir -p $HOME/Downloads/protobuf && cd $HOME/Downloads/protobuf -curl -sSL https://github.com/protocolbuffers/protobuf/archive/v21.2.tar.gz | \ - tar -xzf - --strip-components=1 && \ - cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=yes \ - -Dprotobuf_BUILD_TESTS=OFF \ - -Dprotobuf_ABSL_PROVIDER=package \ - -H. -Bcmake-out && \ - cmake --build cmake-out -- -j ${NCPU:-4} && \ -sudo cmake --build cmake-out --target install -- -j ${NCPU:-4} && \ -sudo ldconfig -``` - -#### c-ares - -Recent versions of gRPC require c-ares >= 1.13, while Debian Stretch -distributes c-ares-1.12. Manually install a newer version: - -```bash -mkdir -p $HOME/Downloads/c-ares && cd $HOME/Downloads/c-ares -curl -sSL https://github.com/c-ares/c-ares/archive/cares-1_14_0.tar.gz | \ - tar -xzf - --strip-components=1 && \ - ./buildconf && ./configure && make -j ${NCPU:-4} && \ -sudo make install && \ -sudo ldconfig -``` - -#### RE2 - -We need a newer version of RE2 than the system package provides. - -```bash -mkdir -p $HOME/Downloads/re2 && cd $HOME/Downloads/re2 -curl -sSL https://github.com/google/re2/archive/2022-04-01.tar.gz | \ - tar -xzf - --strip-components=1 && \ - cmake -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=ON \ - -DRE2_BUILD_TESTING=OFF \ - -H. -Bcmake-out && \ - cmake --build cmake-out -- -j ${NCPU:-4} && \ -sudo cmake --build cmake-out --target install -- -j ${NCPU:-4} && \ -sudo ldconfig -``` - -#### gRPC - -To install gRPC we first need to configure pkg-config to find the version of -Protobuf we just installed in `/usr/local`: - -```bash -mkdir -p $HOME/Downloads/grpc && cd $HOME/Downloads/grpc -curl -sSL https://github.com/grpc/grpc/archive/v1.47.0.tar.gz | \ - tar -xzf - --strip-components=1 && \ - cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=yes \ - -DgRPC_INSTALL=ON \ - -DgRPC_BUILD_TESTS=OFF \ - -DgRPC_ABSL_PROVIDER=package \ - -DgRPC_CARES_PROVIDER=package \ - -DgRPC_PROTOBUF_PROVIDER=package \ - -DgRPC_RE2_PROVIDER=package \ - -DgRPC_SSL_PROVIDER=package \ - -DgRPC_ZLIB_PROVIDER=package \ - -H. -Bcmake-out && \ - cmake --build cmake-out -- -j ${NCPU:-4} && \ -sudo cmake --build cmake-out --target install -- -j ${NCPU:-4} && \ -sudo ldconfig -``` - -#### crc32c - -The project depends on the Crc32c library, we need to compile this from -source: - -```bash -mkdir -p $HOME/Downloads/crc32c && cd $HOME/Downloads/crc32c -curl -sSL https://github.com/google/crc32c/archive/1.1.2.tar.gz | \ - tar -xzf - --strip-components=1 && \ - cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=yes \ - -DCRC32C_BUILD_TESTS=OFF \ - -DCRC32C_BUILD_BENCHMARKS=OFF \ - -DCRC32C_USE_GLOG=OFF \ - -H. -Bcmake-out && \ - cmake --build cmake-out -- -j ${NCPU:-4} && \ -sudo cmake --build cmake-out --target install -- -j ${NCPU:-4} && \ -sudo ldconfig -``` - -#### nlohmann_json library - -The project depends on the nlohmann_json library. We use CMake to -install it as this installs the necessary CMake configuration files. -Note that this is a header-only library, and often installed manually. -This leaves your environment without support for CMake pkg-config. - -```bash -mkdir -p $HOME/Downloads/json && cd $HOME/Downloads/json -curl -sSL https://github.com/nlohmann/json/archive/v3.10.5.tar.gz | \ - tar -xzf - --strip-components=1 && \ - sed -i \ - -e '1s/VERSION 3.8/VERSION 3.5/' \ - -e '/^target_compile_features/d' \ - CMakeLists.txt && \ - cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=yes \ - -DBUILD_TESTING=OFF \ - -DJSON_BuildTests=OFF \ - -H. -Bcmake-out && \ -sudo cmake --build cmake-out --target install -- -j ${NCPU:-4} && \ -sudo ldconfig -``` - -#### Compile and install the main project - -We can now compile and install `google-cloud-cpp` - -```bash -# Pick a location to install the artifacts, e.g., `/usr/local` or `/opt` -PREFIX="${HOME}/google-cloud-cpp-installed" -cmake -H. -Bcmake-out \ - -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ - -DCMAKE_INSTALL_MESSAGE=NEVER \ - -DBUILD_TESTING=OFF \ - -DGOOGLE_CLOUD_CPP_ENABLE_EXAMPLES=OFF -cmake --build cmake-out -- -j "$(nproc)" -cmake --build cmake-out --target install -``` - -
-
Rocky Linux (8)
diff --git a/generator/internal/scaffold_generator.cc b/generator/internal/scaffold_generator.cc index 4c1d4e3a31828..1e20be2553805 100644 --- a/generator/internal/scaffold_generator.cc +++ b/generator/internal/scaffold_generator.cc @@ -176,7 +176,7 @@ Please note that the Google Cloud C++ client libraries do **not** follow ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds @@ -833,7 +833,7 @@ void GenerateQuickstartCMake( # This file shows how to use the $title$ C++ client library from a larger # CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-$library$-quickstart CXX) find_package(google_cloud_cpp_$library$ REQUIRED) diff --git a/google/cloud/README.md b/google/cloud/README.md index e94f9901f7418..a9fb50a7b58ce 100644 --- a/google/cloud/README.md +++ b/google/cloud/README.md @@ -18,7 +18,7 @@ notice. These include `google/cloud/internal/`, and ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/accessapproval/README.md b/google/cloud/accessapproval/README.md index 7d132891c29eb..b07be6e0a1ac1 100644 --- a/google/cloud/accessapproval/README.md +++ b/google/cloud/accessapproval/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/accessapproval/quickstart/CMakeLists.txt b/google/cloud/accessapproval/quickstart/CMakeLists.txt index f673e067bef29..afd000ba921d4 100644 --- a/google/cloud/accessapproval/quickstart/CMakeLists.txt +++ b/google/cloud/accessapproval/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Access Approval API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-accessapproval-quickstart CXX) find_package(google_cloud_cpp_accessapproval REQUIRED) diff --git a/google/cloud/accesscontextmanager/README.md b/google/cloud/accesscontextmanager/README.md index 6c16e4651e818..a2536cb15e02d 100644 --- a/google/cloud/accesscontextmanager/README.md +++ b/google/cloud/accesscontextmanager/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/accesscontextmanager/quickstart/CMakeLists.txt b/google/cloud/accesscontextmanager/quickstart/CMakeLists.txt index e951b1d026d64..d1bbd55ea2c86 100644 --- a/google/cloud/accesscontextmanager/quickstart/CMakeLists.txt +++ b/google/cloud/accesscontextmanager/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Access Context Manager API C++ client library # from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-accesscontextmanager-quickstart CXX) find_package(google_cloud_cpp_accesscontextmanager REQUIRED) diff --git a/google/cloud/apigateway/README.md b/google/cloud/apigateway/README.md index 6d1d2bc52a95b..e79234c8a0b80 100644 --- a/google/cloud/apigateway/README.md +++ b/google/cloud/apigateway/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/apigateway/quickstart/CMakeLists.txt b/google/cloud/apigateway/quickstart/CMakeLists.txt index d7deb6e954a04..45aec1f44d209 100644 --- a/google/cloud/apigateway/quickstart/CMakeLists.txt +++ b/google/cloud/apigateway/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the API Gateway API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-apigateway-quickstart CXX) find_package(google_cloud_cpp_apigateway REQUIRED) diff --git a/google/cloud/apigeeconnect/README.md b/google/cloud/apigeeconnect/README.md index 161cad3c4dc2b..0ac66010e9752 100644 --- a/google/cloud/apigeeconnect/README.md +++ b/google/cloud/apigeeconnect/README.md @@ -16,7 +16,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/apigeeconnect/quickstart/CMakeLists.txt b/google/cloud/apigeeconnect/quickstart/CMakeLists.txt index 5fe9c44008194..682bb8f05bd8c 100644 --- a/google/cloud/apigeeconnect/quickstart/CMakeLists.txt +++ b/google/cloud/apigeeconnect/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Apigee Connect API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-apigeeconnect-quickstart CXX) find_package(google_cloud_cpp_apigeeconnect REQUIRED) diff --git a/google/cloud/appengine/README.md b/google/cloud/appengine/README.md index 785db2bdd5df1..0d98388ee4e90 100644 --- a/google/cloud/appengine/README.md +++ b/google/cloud/appengine/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/appengine/quickstart/CMakeLists.txt b/google/cloud/appengine/quickstart/CMakeLists.txt index 6504cef3c8ae6..4a0fcbaf7c25a 100644 --- a/google/cloud/appengine/quickstart/CMakeLists.txt +++ b/google/cloud/appengine/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the App Engine Admin API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-appengine-quickstart CXX) find_package(google_cloud_cpp_appengine REQUIRED) diff --git a/google/cloud/artifactregistry/README.md b/google/cloud/artifactregistry/README.md index 732e22bf4c0bd..15dc2661d0b50 100644 --- a/google/cloud/artifactregistry/README.md +++ b/google/cloud/artifactregistry/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/artifactregistry/quickstart/CMakeLists.txt b/google/cloud/artifactregistry/quickstart/CMakeLists.txt index 85ea19a18ed9a..af357f32a6049 100644 --- a/google/cloud/artifactregistry/quickstart/CMakeLists.txt +++ b/google/cloud/artifactregistry/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Artifact Registry API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-artifactregistry-quickstart CXX) find_package(google_cloud_cpp_artifactregistry REQUIRED) diff --git a/google/cloud/asset/README.md b/google/cloud/asset/README.md index 056ec1c92c22e..96d0204550a94 100644 --- a/google/cloud/asset/README.md +++ b/google/cloud/asset/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/asset/quickstart/CMakeLists.txt b/google/cloud/asset/quickstart/CMakeLists.txt index e40cec0e388ee..cf52a3dfa41af 100644 --- a/google/cloud/asset/quickstart/CMakeLists.txt +++ b/google/cloud/asset/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Asset API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-asset-quickstart CXX) find_package(google_cloud_cpp_asset REQUIRED) diff --git a/google/cloud/assuredworkloads/README.md b/google/cloud/assuredworkloads/README.md index 2676031c9891b..bd0cf7ad1f771 100644 --- a/google/cloud/assuredworkloads/README.md +++ b/google/cloud/assuredworkloads/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/assuredworkloads/quickstart/CMakeLists.txt b/google/cloud/assuredworkloads/quickstart/CMakeLists.txt index 9f8147aad61c3..93bfa73f5932d 100644 --- a/google/cloud/assuredworkloads/quickstart/CMakeLists.txt +++ b/google/cloud/assuredworkloads/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Assured Workloads API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-assuredworkloads-quickstart CXX) find_package(google_cloud_cpp_assuredworkloads REQUIRED) diff --git a/google/cloud/automl/README.md b/google/cloud/automl/README.md index d318a56f6d9ea..9287a81ef94d5 100644 --- a/google/cloud/automl/README.md +++ b/google/cloud/automl/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/automl/quickstart/CMakeLists.txt b/google/cloud/automl/quickstart/CMakeLists.txt index 24ba1ecdb2ef1..2617a81c5562e 100644 --- a/google/cloud/automl/quickstart/CMakeLists.txt +++ b/google/cloud/automl/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud AutoML API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-automl-quickstart CXX) find_package(google_cloud_cpp_automl REQUIRED) diff --git a/google/cloud/baremetalsolution/README.md b/google/cloud/baremetalsolution/README.md index d9d0c5fb1cf5a..799d240ec6cfb 100644 --- a/google/cloud/baremetalsolution/README.md +++ b/google/cloud/baremetalsolution/README.md @@ -14,7 +14,7 @@ Please note that the Google Cloud C++ client libraries do **not** follow ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/baremetalsolution/quickstart/CMakeLists.txt b/google/cloud/baremetalsolution/quickstart/CMakeLists.txt index ecddea64a6ad1..463f2e8ae5eff 100644 --- a/google/cloud/baremetalsolution/quickstart/CMakeLists.txt +++ b/google/cloud/baremetalsolution/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Bare Metal Solution API C++ client library from # a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-baremetalsolution-quickstart CXX) find_package(google_cloud_cpp_baremetalsolution REQUIRED) diff --git a/google/cloud/bigquery/README.md b/google/cloud/bigquery/README.md index 833a89d929767..52f323f85c7dd 100644 --- a/google/cloud/bigquery/README.md +++ b/google/cloud/bigquery/README.md @@ -9,7 +9,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/bigquery/quickstart/CMakeLists.txt b/google/cloud/bigquery/quickstart/CMakeLists.txt index da4aaddf44978..3b7c167213864 100644 --- a/google/cloud/bigquery/quickstart/CMakeLists.txt +++ b/google/cloud/bigquery/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # A minimal CMakeList.txt showing how to use the Cloud BigQuery C++ client # library in CMake-based projects. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-bigquery-quickstart CXX) find_package(google_cloud_cpp_bigquery REQUIRED) diff --git a/google/cloud/bigtable/README.md b/google/cloud/bigtable/README.md index e1662fc4b64b6..0c9327882759b 100644 --- a/google/cloud/bigtable/README.md +++ b/google/cloud/bigtable/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/bigtable/internal/defaults_test.cc b/google/cloud/bigtable/internal/defaults_test.cc index 309b8ac10888b..ec2989f0f85ec 100644 --- a/google/cloud/bigtable/internal/defaults_test.cc +++ b/google/cloud/bigtable/internal/defaults_test.cc @@ -201,7 +201,7 @@ TEST(OptionsTest, DataUserProjectOption) { DefaultDataOptions(Options{}.set("test-project")); EXPECT_EQ(options.get(), "test-project"); - env = ScopedEnvironment("GOOGLE_CLOUD_CPP_USER_PROJECT", "env-project"); + auto env2 = ScopedEnvironment("GOOGLE_CLOUD_CPP_USER_PROJECT", "env-project"); options = DefaultDataOptions(Options{}.set("test-project")); EXPECT_EQ(options.get(), "env-project"); diff --git a/google/cloud/bigtable/internal/legacy_row_reader_test.cc b/google/cloud/bigtable/internal/legacy_row_reader_test.cc index 387958ae514bf..be13751f3bc67 100644 --- a/google/cloud/bigtable/internal/legacy_row_reader_test.cc +++ b/google/cloud/bigtable/internal/legacy_row_reader_test.cc @@ -519,6 +519,10 @@ TEST_F(LegacyRowReaderTest, FailedParseSkipsAlreadyReadRows) { } TEST_F(LegacyRowReaderTest, FailedParseSkipsAlreadyScannedRows) { +#if defined(__GNUC__) && (__GNUC__ < 7 || (__GNUC__ == 7 && __GNUC_MINOR__ < 4)) + // TODO(#9411) - enable on GCC < 7.4 + GTEST_SKIP(); +#endif // GCC < 7.4 auto* stream = new MockReadRowsReader("google.bigtable.v2.Bigtable.ReadRows"); auto parser = absl::make_unique(); parser->SetRows({"r1"}); diff --git a/google/cloud/bigtable/quickstart/CMakeLists.txt b/google/cloud/bigtable/quickstart/CMakeLists.txt index 8c7e944f3a912..93403e62a9969 100644 --- a/google/cloud/bigtable/quickstart/CMakeLists.txt +++ b/google/cloud/bigtable/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # A minimal CMakeList.txt showing how to use the Cloud Bigtable C++ client # library in CMake-based projects. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-bigtable-quickstart CXX) find_package(google_cloud_cpp_bigtable REQUIRED) diff --git a/google/cloud/billing/README.md b/google/cloud/billing/README.md index ebf70367a55b2..34e22d8691394 100644 --- a/google/cloud/billing/README.md +++ b/google/cloud/billing/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/billing/quickstart/CMakeLists.txt b/google/cloud/billing/quickstart/CMakeLists.txt index 500c179f3aed3..31b710a02aac4 100644 --- a/google/cloud/billing/quickstart/CMakeLists.txt +++ b/google/cloud/billing/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Billing Budget API C++ client library # from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-billing-quickstart CXX) find_package(google_cloud_cpp_billing REQUIRED) diff --git a/google/cloud/binaryauthorization/README.md b/google/cloud/binaryauthorization/README.md index a864ad1ac5c9b..0642963030e4f 100644 --- a/google/cloud/binaryauthorization/README.md +++ b/google/cloud/binaryauthorization/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/binaryauthorization/quickstart/CMakeLists.txt b/google/cloud/binaryauthorization/quickstart/CMakeLists.txt index 4bb987e61a391..fda4344ef3edb 100644 --- a/google/cloud/binaryauthorization/quickstart/CMakeLists.txt +++ b/google/cloud/binaryauthorization/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Binary Authorization API C++ client library # from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-binaryauthorization-quickstart CXX) find_package(google_cloud_cpp_binaryauthorization REQUIRED) diff --git a/google/cloud/channel/README.md b/google/cloud/channel/README.md index 418c00db722ad..8fadc9287506e 100644 --- a/google/cloud/channel/README.md +++ b/google/cloud/channel/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/channel/quickstart/CMakeLists.txt b/google/cloud/channel/quickstart/CMakeLists.txt index f45527ad06690..7a39c9ec8f97b 100644 --- a/google/cloud/channel/quickstart/CMakeLists.txt +++ b/google/cloud/channel/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Channel API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-channel-quickstart CXX) find_package(google_cloud_cpp_channel REQUIRED) diff --git a/google/cloud/cloudbuild/README.md b/google/cloud/cloudbuild/README.md index afc3bed6d38fe..6afefca0d1ce4 100644 --- a/google/cloud/cloudbuild/README.md +++ b/google/cloud/cloudbuild/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/cloudbuild/quickstart/CMakeLists.txt b/google/cloud/cloudbuild/quickstart/CMakeLists.txt index c20d001235f3c..a6b939ee4507d 100644 --- a/google/cloud/cloudbuild/quickstart/CMakeLists.txt +++ b/google/cloud/cloudbuild/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Build API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-cloudbuild-quickstart CXX) find_package(google_cloud_cpp_cloudbuild REQUIRED) diff --git a/google/cloud/composer/README.md b/google/cloud/composer/README.md index 9c73630aed66d..09fb1e61aa308 100644 --- a/google/cloud/composer/README.md +++ b/google/cloud/composer/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/composer/quickstart/CMakeLists.txt b/google/cloud/composer/quickstart/CMakeLists.txt index c2fb3b710c71b..3c0524b5686a0 100644 --- a/google/cloud/composer/quickstart/CMakeLists.txt +++ b/google/cloud/composer/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Composer API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-composer-quickstart CXX) find_package(google_cloud_cpp_composer REQUIRED) diff --git a/google/cloud/contactcenterinsights/README.md b/google/cloud/contactcenterinsights/README.md index 01ac88c103383..53689fd8684cb 100644 --- a/google/cloud/contactcenterinsights/README.md +++ b/google/cloud/contactcenterinsights/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/contactcenterinsights/quickstart/CMakeLists.txt b/google/cloud/contactcenterinsights/quickstart/CMakeLists.txt index 71a7b40e2d25e..0a809aba93552 100644 --- a/google/cloud/contactcenterinsights/quickstart/CMakeLists.txt +++ b/google/cloud/contactcenterinsights/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Contact Center AI Insights API C++ client # library from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-contactcenterinsights-quickstart CXX) find_package(google_cloud_cpp_contactcenterinsights REQUIRED) diff --git a/google/cloud/container/README.md b/google/cloud/container/README.md index c3b8fe632da07..f070f98d1f346 100644 --- a/google/cloud/container/README.md +++ b/google/cloud/container/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/container/quickstart/CMakeLists.txt b/google/cloud/container/quickstart/CMakeLists.txt index 265313e7691f6..45868b613b666 100644 --- a/google/cloud/container/quickstart/CMakeLists.txt +++ b/google/cloud/container/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Kubernetes Engine API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-container-quickstart CXX) find_package(google_cloud_cpp_container REQUIRED) diff --git a/google/cloud/containeranalysis/README.md b/google/cloud/containeranalysis/README.md index 7d1deafe7794e..9cfcb6123d4ee 100644 --- a/google/cloud/containeranalysis/README.md +++ b/google/cloud/containeranalysis/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/containeranalysis/quickstart/CMakeLists.txt b/google/cloud/containeranalysis/quickstart/CMakeLists.txt index c3fef529f60f0..e1d32038a4719 100644 --- a/google/cloud/containeranalysis/quickstart/CMakeLists.txt +++ b/google/cloud/containeranalysis/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Container Analysis API C++ client library from # a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-containeranalysis-quickstart CXX) find_package(google_cloud_cpp_containeranalysis REQUIRED) diff --git a/google/cloud/datacatalog/README.md b/google/cloud/datacatalog/README.md index 046e358caf640..fe37ff7e5b633 100644 --- a/google/cloud/datacatalog/README.md +++ b/google/cloud/datacatalog/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/datacatalog/quickstart/CMakeLists.txt b/google/cloud/datacatalog/quickstart/CMakeLists.txt index 570c2bee84417..19527d6e5680e 100644 --- a/google/cloud/datacatalog/quickstart/CMakeLists.txt +++ b/google/cloud/datacatalog/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Google Cloud Data Catalog API C++ client # library from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-datacatalog-quickstart CXX) find_package(google_cloud_cpp_datacatalog REQUIRED) diff --git a/google/cloud/datamigration/README.md b/google/cloud/datamigration/README.md index 57bf25e7d3ad5..fe5477a636b76 100644 --- a/google/cloud/datamigration/README.md +++ b/google/cloud/datamigration/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/datamigration/quickstart/CMakeLists.txt b/google/cloud/datamigration/quickstart/CMakeLists.txt index deb5b4d2feae3..24c575b94dfc1 100644 --- a/google/cloud/datamigration/quickstart/CMakeLists.txt +++ b/google/cloud/datamigration/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Database Migration API C++ client library from # a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-datamigration-quickstart CXX) find_package(google_cloud_cpp_datamigration REQUIRED) diff --git a/google/cloud/dataplex/README.md b/google/cloud/dataplex/README.md index c530fb6909f69..5878b08757415 100644 --- a/google/cloud/dataplex/README.md +++ b/google/cloud/dataplex/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/dataplex/quickstart/CMakeLists.txt b/google/cloud/dataplex/quickstart/CMakeLists.txt index 77fb7ac96a19f..52b9013fdebda 100644 --- a/google/cloud/dataplex/quickstart/CMakeLists.txt +++ b/google/cloud/dataplex/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Dataplex API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-dataplex-quickstart CXX) find_package(google_cloud_cpp_dataplex REQUIRED) diff --git a/google/cloud/dataproc/README.md b/google/cloud/dataproc/README.md index 45c2240080ceb..b7049d6884763 100644 --- a/google/cloud/dataproc/README.md +++ b/google/cloud/dataproc/README.md @@ -13,7 +13,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/dataproc/quickstart/CMakeLists.txt b/google/cloud/dataproc/quickstart/CMakeLists.txt index e1c71808ebb2d..a584e118bafa6 100644 --- a/google/cloud/dataproc/quickstart/CMakeLists.txt +++ b/google/cloud/dataproc/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Dataproc API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-dataproc-quickstart CXX) find_package(google_cloud_cpp_dataproc REQUIRED) diff --git a/google/cloud/debugger/README.md b/google/cloud/debugger/README.md index 57455bd177430..4a1e731b7039d 100644 --- a/google/cloud/debugger/README.md +++ b/google/cloud/debugger/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/debugger/quickstart/CMakeLists.txt b/google/cloud/debugger/quickstart/CMakeLists.txt index 10eed86165adb..17d21ddb3d79a 100644 --- a/google/cloud/debugger/quickstart/CMakeLists.txt +++ b/google/cloud/debugger/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Stackdriver Debugger API C++ client library # from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-debugger-quickstart CXX) find_package(google_cloud_cpp_debugger REQUIRED) diff --git a/google/cloud/dialogflow_cx/README.md b/google/cloud/dialogflow_cx/README.md index 6f0345887acfa..c4c3b747ab254 100644 --- a/google/cloud/dialogflow_cx/README.md +++ b/google/cloud/dialogflow_cx/README.md @@ -13,7 +13,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/dialogflow_cx/quickstart/CMakeLists.txt b/google/cloud/dialogflow_cx/quickstart/CMakeLists.txt index 2737dbc2d2a8a..b3459804df2d4 100644 --- a/google/cloud/dialogflow_cx/quickstart/CMakeLists.txt +++ b/google/cloud/dialogflow_cx/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Dialogflow API C++ client library from a larger # CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-dialogflow_cx-quickstart CXX) find_package(google_cloud_cpp_dialogflow_cx REQUIRED) diff --git a/google/cloud/dialogflow_es/README.md b/google/cloud/dialogflow_es/README.md index 43ad8e34aebc6..21873dde1e2d9 100644 --- a/google/cloud/dialogflow_es/README.md +++ b/google/cloud/dialogflow_es/README.md @@ -13,7 +13,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/dialogflow_es/quickstart/CMakeLists.txt b/google/cloud/dialogflow_es/quickstart/CMakeLists.txt index 3e101e05594f1..9d6d908f1b643 100644 --- a/google/cloud/dialogflow_es/quickstart/CMakeLists.txt +++ b/google/cloud/dialogflow_es/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Dialogflow API C++ client library from a larger # CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-dialogflow_es-quickstart CXX) find_package(google_cloud_cpp_dialogflow_es REQUIRED) diff --git a/google/cloud/dlp/README.md b/google/cloud/dlp/README.md index 5969afdbaeb00..3fb1749e4720a 100644 --- a/google/cloud/dlp/README.md +++ b/google/cloud/dlp/README.md @@ -12,7 +12,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/dlp/quickstart/CMakeLists.txt b/google/cloud/dlp/quickstart/CMakeLists.txt index 2825249c08b87..f63a96eb72e8d 100644 --- a/google/cloud/dlp/quickstart/CMakeLists.txt +++ b/google/cloud/dlp/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Data Loss Prevention (DLP) API C++ client # library from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-dlp-quickstart CXX) find_package(google_cloud_cpp_dlp REQUIRED) diff --git a/google/cloud/documentai/README.md b/google/cloud/documentai/README.md index 5bfd1f3a8f2d0..13ce449275a1e 100644 --- a/google/cloud/documentai/README.md +++ b/google/cloud/documentai/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/documentai/quickstart/CMakeLists.txt b/google/cloud/documentai/quickstart/CMakeLists.txt index 569073855e5d1..9e61b78c67082 100644 --- a/google/cloud/documentai/quickstart/CMakeLists.txt +++ b/google/cloud/documentai/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Document AI API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-documentai-quickstart CXX) find_package(google_cloud_cpp_documentai REQUIRED) diff --git a/google/cloud/eventarc/README.md b/google/cloud/eventarc/README.md index cdd4a9499b009..bc12ef73af6e9 100644 --- a/google/cloud/eventarc/README.md +++ b/google/cloud/eventarc/README.md @@ -9,7 +9,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/eventarc/quickstart/CMakeLists.txt b/google/cloud/eventarc/quickstart/CMakeLists.txt index cab00d8d79dc8..a2df102156887 100644 --- a/google/cloud/eventarc/quickstart/CMakeLists.txt +++ b/google/cloud/eventarc/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Eventarc API C++ client library from a larger # CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-eventarc-quickstart CXX) find_package(google_cloud_cpp_eventarc REQUIRED) diff --git a/google/cloud/filestore/README.md b/google/cloud/filestore/README.md index 39b409ae6f189..160063445cb5b 100644 --- a/google/cloud/filestore/README.md +++ b/google/cloud/filestore/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/filestore/quickstart/CMakeLists.txt b/google/cloud/filestore/quickstart/CMakeLists.txt index 3349618ca0271..058c03e42659a 100644 --- a/google/cloud/filestore/quickstart/CMakeLists.txt +++ b/google/cloud/filestore/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Filestore API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-filestore-quickstart CXX) find_package(google_cloud_cpp_filestore REQUIRED) diff --git a/google/cloud/functions/README.md b/google/cloud/functions/README.md index 512e54ce035e0..685f633b3814a 100644 --- a/google/cloud/functions/README.md +++ b/google/cloud/functions/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/functions/quickstart/CMakeLists.txt b/google/cloud/functions/quickstart/CMakeLists.txt index 0e5dd781b20ef..e48d222923139 100644 --- a/google/cloud/functions/quickstart/CMakeLists.txt +++ b/google/cloud/functions/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Functions API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-functions-quickstart CXX) find_package(google_cloud_cpp_functions REQUIRED) diff --git a/google/cloud/gameservices/README.md b/google/cloud/gameservices/README.md index afe223923c36f..e2d7aaf3b70db 100644 --- a/google/cloud/gameservices/README.md +++ b/google/cloud/gameservices/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/gameservices/quickstart/CMakeLists.txt b/google/cloud/gameservices/quickstart/CMakeLists.txt index f070306d52c80..121428af1515a 100644 --- a/google/cloud/gameservices/quickstart/CMakeLists.txt +++ b/google/cloud/gameservices/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Game Services API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-gameservices-quickstart CXX) find_package(google_cloud_cpp_gameservices REQUIRED) diff --git a/google/cloud/gkehub/README.md b/google/cloud/gkehub/README.md index 09c1fa49f2b6a..0c1366b4e7637 100644 --- a/google/cloud/gkehub/README.md +++ b/google/cloud/gkehub/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/gkehub/quickstart/CMakeLists.txt b/google/cloud/gkehub/quickstart/CMakeLists.txt index 6c437c9895fab..52cf248febf36 100644 --- a/google/cloud/gkehub/quickstart/CMakeLists.txt +++ b/google/cloud/gkehub/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the GKE Hub C++ client library from a larger CMake # project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-gkehub-quickstart CXX) find_package(google_cloud_cpp_gkehub REQUIRED) diff --git a/google/cloud/grafeas/README.md b/google/cloud/grafeas/README.md index 0b1b8ff866e83..6bc58d82f41b7 100644 --- a/google/cloud/grafeas/README.md +++ b/google/cloud/grafeas/README.md @@ -22,7 +22,7 @@ Please note that the Google Cloud C++ client libraries do **not** follow ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and MSVC >= 2017) +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/iam/README.md b/google/cloud/iam/README.md index 2d7c19a89d3b7..103bb235e6231 100644 --- a/google/cloud/iam/README.md +++ b/google/cloud/iam/README.md @@ -9,7 +9,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/iam/quickstart/CMakeLists.txt b/google/cloud/iam/quickstart/CMakeLists.txt index ca9323f0137b2..6b66d8eee08df 100644 --- a/google/cloud/iam/quickstart/CMakeLists.txt +++ b/google/cloud/iam/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # A minimal CMakeList.txt showing how to use the Cloud IAM C++ client library in # CMake-based projects. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-iam-quickstart CXX) find_package(google_cloud_cpp_iam REQUIRED) diff --git a/google/cloud/iap/README.md b/google/cloud/iap/README.md index 0c388607d38e6..c3bd5a8271d77 100644 --- a/google/cloud/iap/README.md +++ b/google/cloud/iap/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/iap/quickstart/CMakeLists.txt b/google/cloud/iap/quickstart/CMakeLists.txt index 65cb5e9b227da..eb45f2e061598 100644 --- a/google/cloud/iap/quickstart/CMakeLists.txt +++ b/google/cloud/iap/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Identity-Aware Proxy API C++ client # library from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-iap-quickstart CXX) find_package(google_cloud_cpp_iap REQUIRED) diff --git a/google/cloud/ids/README.md b/google/cloud/ids/README.md index 598c3cf91368a..aa9228358c7cb 100644 --- a/google/cloud/ids/README.md +++ b/google/cloud/ids/README.md @@ -14,7 +14,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/ids/quickstart/CMakeLists.txt b/google/cloud/ids/quickstart/CMakeLists.txt index 5d8bd88b1e38b..ae898b765fa0e 100644 --- a/google/cloud/ids/quickstart/CMakeLists.txt +++ b/google/cloud/ids/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud IDS API C++ client library from a larger # CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-ids-quickstart CXX) find_package(google_cloud_cpp_ids REQUIRED) diff --git a/google/cloud/internal/curl_handle_test.cc b/google/cloud/internal/curl_handle_test.cc index f182cf3a945f3..2efd95fdfe305 100644 --- a/google/cloud/internal/curl_handle_test.cc +++ b/google/cloud/internal/curl_handle_test.cc @@ -28,26 +28,27 @@ TEST(CurlHandleTest, AsStatus) { struct { CURLcode curl; StatusCode expected; - } expected_codes[]{ - {CURLE_OK, StatusCode::kOk}, - {CURLE_RECV_ERROR, StatusCode::kUnavailable}, - {CURLE_SEND_ERROR, StatusCode::kUnavailable}, - {CURLE_PARTIAL_FILE, StatusCode::kUnavailable}, - {CURLE_SSL_CONNECT_ERROR, StatusCode::kUnavailable}, - {CURLE_COULDNT_RESOLVE_HOST, StatusCode::kUnavailable}, - {CURLE_COULDNT_RESOLVE_PROXY, StatusCode::kUnavailable}, - {CURLE_COULDNT_CONNECT, StatusCode::kUnavailable}, - {CURLE_REMOTE_ACCESS_DENIED, StatusCode::kPermissionDenied}, - {CURLE_OPERATION_TIMEDOUT, StatusCode::kDeadlineExceeded}, - {CURLE_RANGE_ERROR, StatusCode::kUnimplemented}, - {CURLE_BAD_DOWNLOAD_RESUME, StatusCode::kInvalidArgument}, - {CURLE_ABORTED_BY_CALLBACK, StatusCode::kAborted}, - {CURLE_REMOTE_FILE_NOT_FOUND, StatusCode::kNotFound}, - {CURLE_FAILED_INIT, StatusCode::kUnknown}, - {CURLE_FTP_PORT_FAILED, StatusCode::kUnknown}, - {CURLE_GOT_NOTHING, StatusCode::kUnavailable}, - {CURLE_AGAIN, StatusCode::kUnknown}, - {CURLE_HTTP2, StatusCode::kUnavailable}, + } expected_codes[] { + {CURLE_OK, StatusCode::kOk}, {CURLE_RECV_ERROR, StatusCode::kUnavailable}, + {CURLE_SEND_ERROR, StatusCode::kUnavailable}, + {CURLE_PARTIAL_FILE, StatusCode::kUnavailable}, + {CURLE_SSL_CONNECT_ERROR, StatusCode::kUnavailable}, + {CURLE_COULDNT_RESOLVE_HOST, StatusCode::kUnavailable}, + {CURLE_COULDNT_RESOLVE_PROXY, StatusCode::kUnavailable}, + {CURLE_COULDNT_CONNECT, StatusCode::kUnavailable}, + {CURLE_REMOTE_ACCESS_DENIED, StatusCode::kPermissionDenied}, + {CURLE_OPERATION_TIMEDOUT, StatusCode::kDeadlineExceeded}, + {CURLE_RANGE_ERROR, StatusCode::kUnimplemented}, + {CURLE_BAD_DOWNLOAD_RESUME, StatusCode::kInvalidArgument}, + {CURLE_ABORTED_BY_CALLBACK, StatusCode::kAborted}, + {CURLE_REMOTE_FILE_NOT_FOUND, StatusCode::kNotFound}, + {CURLE_FAILED_INIT, StatusCode::kUnknown}, + {CURLE_FTP_PORT_FAILED, StatusCode::kUnknown}, + {CURLE_GOT_NOTHING, StatusCode::kUnavailable}, + {CURLE_AGAIN, StatusCode::kUnknown}, +#if CURL_AT_LEAST_VERSION(7, 43, 0) + {CURLE_HTTP2, StatusCode::kUnavailable}, +#endif // CURL_AT_LEAST_VERSION }; for (auto const& codes : expected_codes) { diff --git a/google/cloud/iot/README.md b/google/cloud/iot/README.md index c0ad4d3624450..ec2b6dcfaafb1 100644 --- a/google/cloud/iot/README.md +++ b/google/cloud/iot/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/iot/quickstart/CMakeLists.txt b/google/cloud/iot/quickstart/CMakeLists.txt index 958f3e59082cd..d17ad8427ffc9 100644 --- a/google/cloud/iot/quickstart/CMakeLists.txt +++ b/google/cloud/iot/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud IoT API C++ client library from a larger # CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-iot-quickstart CXX) find_package(google_cloud_cpp_iot REQUIRED) diff --git a/google/cloud/kms/README.md b/google/cloud/kms/README.md index 7f2dbf915ae7a..11e2c7c334ce3 100644 --- a/google/cloud/kms/README.md +++ b/google/cloud/kms/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/kms/quickstart/CMakeLists.txt b/google/cloud/kms/quickstart/CMakeLists.txt index 4809887427625..1dedcddef4d65 100644 --- a/google/cloud/kms/quickstart/CMakeLists.txt +++ b/google/cloud/kms/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Key Management Service (KMS) API C++ # client library from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-kms-quickstart CXX) find_package(google_cloud_cpp_kms REQUIRED) diff --git a/google/cloud/language/README.md b/google/cloud/language/README.md index c10ad362b89b0..f275c1f9b1116 100644 --- a/google/cloud/language/README.md +++ b/google/cloud/language/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/language/quickstart/CMakeLists.txt b/google/cloud/language/quickstart/CMakeLists.txt index 652f63139719e..e99764a742ccd 100644 --- a/google/cloud/language/quickstart/CMakeLists.txt +++ b/google/cloud/language/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Natural Language API C++ client library # from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-language-quickstart CXX) find_package(google_cloud_cpp_language REQUIRED) diff --git a/google/cloud/logging/README.md b/google/cloud/logging/README.md index 7ca5dc5205d48..11ab2f675c68d 100644 --- a/google/cloud/logging/README.md +++ b/google/cloud/logging/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/logging/quickstart/CMakeLists.txt b/google/cloud/logging/quickstart/CMakeLists.txt index b4544cc8ad800..971f255bdb1ae 100644 --- a/google/cloud/logging/quickstart/CMakeLists.txt +++ b/google/cloud/logging/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Logging API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-logging-quickstart CXX) find_package(google_cloud_cpp_logging REQUIRED) diff --git a/google/cloud/managedidentities/README.md b/google/cloud/managedidentities/README.md index ba400e2d82a55..f002cc54125c6 100644 --- a/google/cloud/managedidentities/README.md +++ b/google/cloud/managedidentities/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/managedidentities/quickstart/CMakeLists.txt b/google/cloud/managedidentities/quickstart/CMakeLists.txt index 82fec1d095300..acc236a11fbcc 100644 --- a/google/cloud/managedidentities/quickstart/CMakeLists.txt +++ b/google/cloud/managedidentities/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Managed Service for Microsoft Active Directory # API C++ client library from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-managedidentities-quickstart CXX) find_package(google_cloud_cpp_managedidentities REQUIRED) diff --git a/google/cloud/memcache/README.md b/google/cloud/memcache/README.md index 0e7e9416d1b07..0f6d524ad225c 100644 --- a/google/cloud/memcache/README.md +++ b/google/cloud/memcache/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/memcache/quickstart/CMakeLists.txt b/google/cloud/memcache/quickstart/CMakeLists.txt index 93a8185b2ba7a..2292bbc82a41b 100644 --- a/google/cloud/memcache/quickstart/CMakeLists.txt +++ b/google/cloud/memcache/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Memorystore for Memcached API C++ client # library from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-memcache-quickstart CXX) find_package(google_cloud_cpp_memcache REQUIRED) diff --git a/google/cloud/monitoring/README.md b/google/cloud/monitoring/README.md index b03fc4d79a077..db46c8070f2ce 100644 --- a/google/cloud/monitoring/README.md +++ b/google/cloud/monitoring/README.md @@ -13,7 +13,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/monitoring/quickstart/CMakeLists.txt b/google/cloud/monitoring/quickstart/CMakeLists.txt index 79f3b21d18148..29f8d5c643177 100644 --- a/google/cloud/monitoring/quickstart/CMakeLists.txt +++ b/google/cloud/monitoring/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Monitoring API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-monitoring-quickstart CXX) find_package(google_cloud_cpp_monitoring REQUIRED) diff --git a/google/cloud/networkmanagement/README.md b/google/cloud/networkmanagement/README.md index f13a9d76bba8a..16f703c1e58cd 100644 --- a/google/cloud/networkmanagement/README.md +++ b/google/cloud/networkmanagement/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/networkmanagement/quickstart/CMakeLists.txt b/google/cloud/networkmanagement/quickstart/CMakeLists.txt index 960bb5b650057..c6554c878be2c 100644 --- a/google/cloud/networkmanagement/quickstart/CMakeLists.txt +++ b/google/cloud/networkmanagement/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Network Management API C++ client library from # a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-networkmanagement-quickstart CXX) find_package(google_cloud_cpp_networkmanagement REQUIRED) diff --git a/google/cloud/notebooks/README.md b/google/cloud/notebooks/README.md index 3afa2b14962de..0a3d347773ac0 100644 --- a/google/cloud/notebooks/README.md +++ b/google/cloud/notebooks/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/notebooks/quickstart/CMakeLists.txt b/google/cloud/notebooks/quickstart/CMakeLists.txt index 16a2557f8c2c6..8246d2d977724 100644 --- a/google/cloud/notebooks/quickstart/CMakeLists.txt +++ b/google/cloud/notebooks/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Notebooks API C++ client library from a larger # CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-notebooks-quickstart CXX) find_package(google_cloud_cpp_notebooks REQUIRED) diff --git a/google/cloud/optimization/README.md b/google/cloud/optimization/README.md index 2ec31008f50f5..b6c77aae760fb 100644 --- a/google/cloud/optimization/README.md +++ b/google/cloud/optimization/README.md @@ -14,7 +14,7 @@ Please note that the Google Cloud C++ client libraries do **not** follow ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/optimization/quickstart/CMakeLists.txt b/google/cloud/optimization/quickstart/CMakeLists.txt index bb6d1ce4fa92f..01a2031d8cc34 100644 --- a/google/cloud/optimization/quickstart/CMakeLists.txt +++ b/google/cloud/optimization/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Optimization API C++ client library from # a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-optimization-quickstart CXX) find_package(google_cloud_cpp_optimization REQUIRED) diff --git a/google/cloud/orgpolicy/README.md b/google/cloud/orgpolicy/README.md index 788d78323e506..4ee6fdc6c9bc5 100644 --- a/google/cloud/orgpolicy/README.md +++ b/google/cloud/orgpolicy/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/orgpolicy/quickstart/CMakeLists.txt b/google/cloud/orgpolicy/quickstart/CMakeLists.txt index e0a47ebf216c0..e6415a2cd78ef 100644 --- a/google/cloud/orgpolicy/quickstart/CMakeLists.txt +++ b/google/cloud/orgpolicy/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Organization Policy API C++ client library from # a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-orgpolicy-quickstart CXX) find_package(google_cloud_cpp_orgpolicy REQUIRED) diff --git a/google/cloud/osconfig/README.md b/google/cloud/osconfig/README.md index 4d467c867ba38..2c3dda7b48013 100644 --- a/google/cloud/osconfig/README.md +++ b/google/cloud/osconfig/README.md @@ -16,7 +16,7 @@ Please note that the Google Cloud C++ client libraries do **not** follow ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/osconfig/quickstart/CMakeLists.txt b/google/cloud/osconfig/quickstart/CMakeLists.txt index ed1495b9b3b44..3c16d15a6db62 100644 --- a/google/cloud/osconfig/quickstart/CMakeLists.txt +++ b/google/cloud/osconfig/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the OS Config API C++ client library from a larger # CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-osconfig-quickstart CXX) find_package(google_cloud_cpp_osconfig REQUIRED) diff --git a/google/cloud/oslogin/README.md b/google/cloud/oslogin/README.md index 4e19fe74489f6..ebddceb5718ae 100644 --- a/google/cloud/oslogin/README.md +++ b/google/cloud/oslogin/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/oslogin/quickstart/CMakeLists.txt b/google/cloud/oslogin/quickstart/CMakeLists.txt index f6137a96937ad..8f59940cbf67c 100644 --- a/google/cloud/oslogin/quickstart/CMakeLists.txt +++ b/google/cloud/oslogin/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud OS Login API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-oslogin-quickstart CXX) find_package(google_cloud_cpp_oslogin REQUIRED) diff --git a/google/cloud/policytroubleshooter/README.md b/google/cloud/policytroubleshooter/README.md index 60fd8a921c30c..f578b80310de8 100644 --- a/google/cloud/policytroubleshooter/README.md +++ b/google/cloud/policytroubleshooter/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/policytroubleshooter/quickstart/CMakeLists.txt b/google/cloud/policytroubleshooter/quickstart/CMakeLists.txt index 4d93b3c77791b..90551d36ea3b7 100644 --- a/google/cloud/policytroubleshooter/quickstart/CMakeLists.txt +++ b/google/cloud/policytroubleshooter/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Policy Troubleshooter API C++ client library # from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-policytroubleshooter-quickstart CXX) find_package(google_cloud_cpp_policytroubleshooter REQUIRED) diff --git a/google/cloud/privateca/README.md b/google/cloud/privateca/README.md index b78376befc126..2263329def765 100644 --- a/google/cloud/privateca/README.md +++ b/google/cloud/privateca/README.md @@ -12,7 +12,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/privateca/quickstart/CMakeLists.txt b/google/cloud/privateca/quickstart/CMakeLists.txt index 425ac2d456f85..59683e9d91fc1 100644 --- a/google/cloud/privateca/quickstart/CMakeLists.txt +++ b/google/cloud/privateca/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Certificate Authority API C++ client library # from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-privateca-quickstart CXX) find_package(google_cloud_cpp_privateca REQUIRED) diff --git a/google/cloud/profiler/README.md b/google/cloud/profiler/README.md index 78aaf828d9daf..a95a46945de2d 100644 --- a/google/cloud/profiler/README.md +++ b/google/cloud/profiler/README.md @@ -17,7 +17,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/profiler/quickstart/CMakeLists.txt b/google/cloud/profiler/quickstart/CMakeLists.txt index 8a3811448389f..17693b5e27e73 100644 --- a/google/cloud/profiler/quickstart/CMakeLists.txt +++ b/google/cloud/profiler/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Profiler API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-profiler-quickstart CXX) find_package(google_cloud_cpp_profiler REQUIRED) diff --git a/google/cloud/pubsub/README.md b/google/cloud/pubsub/README.md index 4e92da165b7ec..5d3ee7f6e5126 100644 --- a/google/cloud/pubsub/README.md +++ b/google/cloud/pubsub/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/pubsub/quickstart/CMakeLists.txt b/google/cloud/pubsub/quickstart/CMakeLists.txt index be81fbd1990f7..3d4668b6b410a 100644 --- a/google/cloud/pubsub/quickstart/CMakeLists.txt +++ b/google/cloud/pubsub/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # A minimal CMakeList.txt showing how to use the Cloud Pub/Sub C++ client # library in CMake-based projects. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-pubsub-quickstart CXX) find_package(google_cloud_cpp_pubsub REQUIRED) diff --git a/google/cloud/pubsublite/README.md b/google/cloud/pubsublite/README.md index d3e4c786f75ab..80adcfcb85063 100644 --- a/google/cloud/pubsublite/README.md +++ b/google/cloud/pubsublite/README.md @@ -15,7 +15,7 @@ Please note that the Google Cloud C++ client libraries do **not** follow ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/pubsublite/quickstart/CMakeLists.txt b/google/cloud/pubsublite/quickstart/CMakeLists.txt index 2684bcab383b1..80c4b34b97e6b 100644 --- a/google/cloud/pubsublite/quickstart/CMakeLists.txt +++ b/google/cloud/pubsublite/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Pub/Sub Lite API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-pubsublite-quickstart CXX) find_package(google_cloud_cpp_pubsublite REQUIRED) diff --git a/google/cloud/recommender/README.md b/google/cloud/recommender/README.md index c3fe468ac2288..ea757b2c766de 100644 --- a/google/cloud/recommender/README.md +++ b/google/cloud/recommender/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/recommender/quickstart/CMakeLists.txt b/google/cloud/recommender/quickstart/CMakeLists.txt index 41e9b85e359e0..32431acf0abda 100644 --- a/google/cloud/recommender/quickstart/CMakeLists.txt +++ b/google/cloud/recommender/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Recommender API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-recommender-quickstart CXX) find_package(google_cloud_cpp_recommender REQUIRED) diff --git a/google/cloud/redis/README.md b/google/cloud/redis/README.md index c9b29f6db2d69..ce8c8fca0546c 100644 --- a/google/cloud/redis/README.md +++ b/google/cloud/redis/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/redis/quickstart/CMakeLists.txt b/google/cloud/redis/quickstart/CMakeLists.txt index 9cd0ebd260a82..aa54dc4c49ac7 100644 --- a/google/cloud/redis/quickstart/CMakeLists.txt +++ b/google/cloud/redis/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Google Cloud Memorystore for Redis API C++ # client library from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-redis-quickstart CXX) find_package(google_cloud_cpp_redis REQUIRED) diff --git a/google/cloud/resourcemanager/README.md b/google/cloud/resourcemanager/README.md index e81ebd95ce6f6..06aa9961afecf 100644 --- a/google/cloud/resourcemanager/README.md +++ b/google/cloud/resourcemanager/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/resourcemanager/quickstart/CMakeLists.txt b/google/cloud/resourcemanager/quickstart/CMakeLists.txt index 5f09752a68aac..d6af41f90e485 100644 --- a/google/cloud/resourcemanager/quickstart/CMakeLists.txt +++ b/google/cloud/resourcemanager/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Resource Manager API C++ client library # from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-resourcemanager-quickstart CXX) find_package(google_cloud_cpp_resourcemanager REQUIRED) diff --git a/google/cloud/resourcesettings/README.md b/google/cloud/resourcesettings/README.md index d04382fc5d2ed..1b43a182084ea 100644 --- a/google/cloud/resourcesettings/README.md +++ b/google/cloud/resourcesettings/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/resourcesettings/quickstart/CMakeLists.txt b/google/cloud/resourcesettings/quickstart/CMakeLists.txt index 81450e21e7d6f..87806856655a4 100644 --- a/google/cloud/resourcesettings/quickstart/CMakeLists.txt +++ b/google/cloud/resourcesettings/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Resource Settings API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-resourcesettings-quickstart CXX) find_package(google_cloud_cpp_resourcesettings REQUIRED) diff --git a/google/cloud/retail/README.md b/google/cloud/retail/README.md index 6acd375340f54..2a71e20b86d6b 100644 --- a/google/cloud/retail/README.md +++ b/google/cloud/retail/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/retail/quickstart/CMakeLists.txt b/google/cloud/retail/quickstart/CMakeLists.txt index 9b02b9d0601dd..c9931efd4c16d 100644 --- a/google/cloud/retail/quickstart/CMakeLists.txt +++ b/google/cloud/retail/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Retail API C++ client library from a larger # CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-retail-quickstart CXX) find_package(google_cloud_cpp_retail REQUIRED) diff --git a/google/cloud/scheduler/README.md b/google/cloud/scheduler/README.md index f76e5dbc1c091..ffbbf5c06cc76 100644 --- a/google/cloud/scheduler/README.md +++ b/google/cloud/scheduler/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/scheduler/quickstart/CMakeLists.txt b/google/cloud/scheduler/quickstart/CMakeLists.txt index 625fbf1469a70..d119938d9c43d 100644 --- a/google/cloud/scheduler/quickstart/CMakeLists.txt +++ b/google/cloud/scheduler/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Scheduler API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-scheduler-quickstart CXX) find_package(google_cloud_cpp_scheduler REQUIRED) diff --git a/google/cloud/secretmanager/README.md b/google/cloud/secretmanager/README.md index 6a50739306a15..468ccb42040b8 100644 --- a/google/cloud/secretmanager/README.md +++ b/google/cloud/secretmanager/README.md @@ -11,7 +11,7 @@ client libraries do **not** follow [Semantic Versioning](https://semver.org/). ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/secretmanager/quickstart/CMakeLists.txt b/google/cloud/secretmanager/quickstart/CMakeLists.txt index e40d8f79fc1f7..f6e1baeb23558 100644 --- a/google/cloud/secretmanager/quickstart/CMakeLists.txt +++ b/google/cloud/secretmanager/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Secret Manager API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-secretmanager-quickstart CXX) find_package(google_cloud_cpp_secretmanager REQUIRED) diff --git a/google/cloud/securitycenter/README.md b/google/cloud/securitycenter/README.md index aac843f2f6305..f70ca36193582 100644 --- a/google/cloud/securitycenter/README.md +++ b/google/cloud/securitycenter/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/securitycenter/quickstart/CMakeLists.txt b/google/cloud/securitycenter/quickstart/CMakeLists.txt index eb3ec89aebb5b..4d9e47827503e 100644 --- a/google/cloud/securitycenter/quickstart/CMakeLists.txt +++ b/google/cloud/securitycenter/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Security Command Center API C++ client library # from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-securitycenter-quickstart CXX) find_package(google_cloud_cpp_securitycenter REQUIRED) diff --git a/google/cloud/servicecontrol/README.md b/google/cloud/servicecontrol/README.md index 1567a5d4c4aed..211324fd80b00 100644 --- a/google/cloud/servicecontrol/README.md +++ b/google/cloud/servicecontrol/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/servicecontrol/quickstart/CMakeLists.txt b/google/cloud/servicecontrol/quickstart/CMakeLists.txt index dc3d85f68a253..436e810585d33 100644 --- a/google/cloud/servicecontrol/quickstart/CMakeLists.txt +++ b/google/cloud/servicecontrol/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Service Control API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-servicecontrol-quickstart CXX) find_package(google_cloud_cpp_servicecontrol REQUIRED) diff --git a/google/cloud/servicedirectory/README.md b/google/cloud/servicedirectory/README.md index 964fc7535ebd7..098686f0bcf5d 100644 --- a/google/cloud/servicedirectory/README.md +++ b/google/cloud/servicedirectory/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/servicedirectory/quickstart/CMakeLists.txt b/google/cloud/servicedirectory/quickstart/CMakeLists.txt index c439e6879eede..7b4aeef147f36 100644 --- a/google/cloud/servicedirectory/quickstart/CMakeLists.txt +++ b/google/cloud/servicedirectory/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Service Directory API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-servicedirectory-quickstart CXX) find_package(google_cloud_cpp_servicedirectory REQUIRED) diff --git a/google/cloud/servicemanagement/README.md b/google/cloud/servicemanagement/README.md index eb8205375425c..9a332738acf5b 100644 --- a/google/cloud/servicemanagement/README.md +++ b/google/cloud/servicemanagement/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/servicemanagement/quickstart/CMakeLists.txt b/google/cloud/servicemanagement/quickstart/CMakeLists.txt index 042c46afa7e0f..2b9c91eee1d4f 100644 --- a/google/cloud/servicemanagement/quickstart/CMakeLists.txt +++ b/google/cloud/servicemanagement/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Service Management API C++ client library from # a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-servicemanagement-quickstart CXX) find_package(google_cloud_cpp_servicemanagement REQUIRED) diff --git a/google/cloud/serviceusage/README.md b/google/cloud/serviceusage/README.md index 4dc1cd8c86881..1574e38b72a73 100644 --- a/google/cloud/serviceusage/README.md +++ b/google/cloud/serviceusage/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/serviceusage/quickstart/CMakeLists.txt b/google/cloud/serviceusage/quickstart/CMakeLists.txt index 757ac6065d7b0..85edf670bf797 100644 --- a/google/cloud/serviceusage/quickstart/CMakeLists.txt +++ b/google/cloud/serviceusage/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Service Usage API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-serviceusage-quickstart CXX) find_package(google_cloud_cpp_serviceusage REQUIRED) diff --git a/google/cloud/shell/README.md b/google/cloud/shell/README.md index bf87db5248913..65619316a077e 100644 --- a/google/cloud/shell/README.md +++ b/google/cloud/shell/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/shell/quickstart/CMakeLists.txt b/google/cloud/shell/quickstart/CMakeLists.txt index 5a3bd4edb4eab..a06768c0fa499 100644 --- a/google/cloud/shell/quickstart/CMakeLists.txt +++ b/google/cloud/shell/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Shell API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-shell-quickstart CXX) find_package(google_cloud_cpp_shell REQUIRED) diff --git a/google/cloud/spanner/README.md b/google/cloud/spanner/README.md index d8d07410d6227..0c35579f23252 100644 --- a/google/cloud/spanner/README.md +++ b/google/cloud/spanner/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/spanner/internal/defaults_test.cc b/google/cloud/spanner/internal/defaults_test.cc index bf1abe505d6a4..8ea9c3466c4a5 100644 --- a/google/cloud/spanner/internal/defaults_test.cc +++ b/google/cloud/spanner/internal/defaults_test.cc @@ -179,8 +179,8 @@ TEST(Options, UserProject) { Options{}.set("opt-user-project")); EXPECT_THAT(opts.get(), "opt-user-project"); - env = testing_util::ScopedEnvironment("GOOGLE_CLOUD_CPP_USER_PROJECT", - "env-user-project"); + auto env2 = testing_util::ScopedEnvironment("GOOGLE_CLOUD_CPP_USER_PROJECT", + "env-user-project"); opts = spanner_internal::DefaultOptions( Options{}.set("opt-user-project")); EXPECT_THAT(opts.get(), "env-user-project"); diff --git a/google/cloud/spanner/quickstart/CMakeLists.txt b/google/cloud/spanner/quickstart/CMakeLists.txt index b603adbf655d6..0297ed95a577c 100644 --- a/google/cloud/spanner/quickstart/CMakeLists.txt +++ b/google/cloud/spanner/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This CMake file shows how to use the Cloud Spanner C++ client from a larger # CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-spanner-quickstart CXX) find_package(google_cloud_cpp_spanner REQUIRED) diff --git a/google/cloud/speech/README.md b/google/cloud/speech/README.md index 593d7f431e4d2..7abd9b1ff55d8 100644 --- a/google/cloud/speech/README.md +++ b/google/cloud/speech/README.md @@ -13,7 +13,7 @@ Please note that the Google Cloud C++ client libraries do **not** follow ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/speech/quickstart/CMakeLists.txt b/google/cloud/speech/quickstart/CMakeLists.txt index 0db555d59e6e0..d0a16528660ab 100644 --- a/google/cloud/speech/quickstart/CMakeLists.txt +++ b/google/cloud/speech/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Speech-to-Text API C++ client library # from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-speech-quickstart CXX) find_package(google_cloud_cpp_speech REQUIRED) diff --git a/google/cloud/storage/README.md b/google/cloud/storage/README.md index ac040ff66fdad..6bf467d917c7d 100644 --- a/google/cloud/storage/README.md +++ b/google/cloud/storage/README.md @@ -14,7 +14,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/storage/internal/curl_handle_test.cc b/google/cloud/storage/internal/curl_handle_test.cc index 6efaf030a963e..0f62fbb3821c6 100644 --- a/google/cloud/storage/internal/curl_handle_test.cc +++ b/google/cloud/storage/internal/curl_handle_test.cc @@ -29,26 +29,27 @@ TEST(CurlHandleTest, AsStatus) { struct { CURLcode curl; StatusCode expected; - } expected_codes[]{ - {CURLE_OK, StatusCode::kOk}, - {CURLE_RECV_ERROR, StatusCode::kUnavailable}, - {CURLE_SEND_ERROR, StatusCode::kUnavailable}, - {CURLE_PARTIAL_FILE, StatusCode::kUnavailable}, - {CURLE_SSL_CONNECT_ERROR, StatusCode::kUnavailable}, - {CURLE_COULDNT_RESOLVE_HOST, StatusCode::kUnavailable}, - {CURLE_COULDNT_RESOLVE_PROXY, StatusCode::kUnavailable}, - {CURLE_COULDNT_CONNECT, StatusCode::kUnavailable}, - {CURLE_REMOTE_ACCESS_DENIED, StatusCode::kPermissionDenied}, - {CURLE_OPERATION_TIMEDOUT, StatusCode::kDeadlineExceeded}, - {CURLE_RANGE_ERROR, StatusCode::kUnimplemented}, - {CURLE_BAD_DOWNLOAD_RESUME, StatusCode::kInvalidArgument}, - {CURLE_ABORTED_BY_CALLBACK, StatusCode::kAborted}, - {CURLE_REMOTE_FILE_NOT_FOUND, StatusCode::kNotFound}, - {CURLE_FAILED_INIT, StatusCode::kUnknown}, - {CURLE_FTP_PORT_FAILED, StatusCode::kUnknown}, - {CURLE_GOT_NOTHING, StatusCode::kUnavailable}, - {CURLE_AGAIN, StatusCode::kUnknown}, - {CURLE_HTTP2, StatusCode::kUnavailable}, + } expected_codes[] { + {CURLE_OK, StatusCode::kOk}, {CURLE_RECV_ERROR, StatusCode::kUnavailable}, + {CURLE_SEND_ERROR, StatusCode::kUnavailable}, + {CURLE_PARTIAL_FILE, StatusCode::kUnavailable}, + {CURLE_SSL_CONNECT_ERROR, StatusCode::kUnavailable}, + {CURLE_COULDNT_RESOLVE_HOST, StatusCode::kUnavailable}, + {CURLE_COULDNT_RESOLVE_PROXY, StatusCode::kUnavailable}, + {CURLE_COULDNT_CONNECT, StatusCode::kUnavailable}, + {CURLE_REMOTE_ACCESS_DENIED, StatusCode::kPermissionDenied}, + {CURLE_OPERATION_TIMEDOUT, StatusCode::kDeadlineExceeded}, + {CURLE_RANGE_ERROR, StatusCode::kUnimplemented}, + {CURLE_BAD_DOWNLOAD_RESUME, StatusCode::kInvalidArgument}, + {CURLE_ABORTED_BY_CALLBACK, StatusCode::kAborted}, + {CURLE_REMOTE_FILE_NOT_FOUND, StatusCode::kNotFound}, + {CURLE_FAILED_INIT, StatusCode::kUnknown}, + {CURLE_FTP_PORT_FAILED, StatusCode::kUnknown}, + {CURLE_GOT_NOTHING, StatusCode::kUnavailable}, + {CURLE_AGAIN, StatusCode::kUnknown}, +#if CURL_AT_LEAST_VERSION(7, 43, 0) + {CURLE_HTTP2, StatusCode::kUnavailable}, +#endif // CURL_AT_LEAST_VERSION }; for (auto const& codes : expected_codes) { diff --git a/google/cloud/storage/quickstart/CMakeLists.txt b/google/cloud/storage/quickstart/CMakeLists.txt index c077afe0e1816..55c74a6297e1e 100644 --- a/google/cloud/storage/quickstart/CMakeLists.txt +++ b/google/cloud/storage/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # A minimal CMakeList.txt showing how to use the Google Cloud Storage C++ client # library in CMake-based projects. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-storage-quickstart CXX) find_package(google_cloud_cpp_storage REQUIRED) diff --git a/google/cloud/storage/tests/curl_download_request_integration_test.cc b/google/cloud/storage/tests/curl_download_request_integration_test.cc index 7cff6c718ca9f..b23b8e085c204 100644 --- a/google/cloud/storage/tests/curl_download_request_integration_test.cc +++ b/google/cloud/storage/tests/curl_download_request_integration_test.cc @@ -41,10 +41,6 @@ std::string HttpBinEndpoint() { .value_or("https://httpbin.org"); } -bool UsingEmulator() { - return google::cloud::internal::GetEnv("HTTPBIN_ENDPOINT").has_value(); -} - Status Make3Attempts(std::function const& attempt) { Status status; auto backoff = std::chrono::seconds(1); @@ -363,6 +359,11 @@ TEST(CurlDownloadRequestTest, Regression7051) { ASSERT_STATUS_OK(status); } +#if CURL_AT_LEAST_VERSION(7, 43, 0) +bool UsingEmulator() { + return google::cloud::internal::GetEnv("HTTPBIN_ENDPOINT").has_value(); +} + TEST(CurlDownloadRequestTest, HttpVersion) { // Run one attempt and return the response. struct Response { @@ -433,6 +434,7 @@ TEST(CurlDownloadRequestTest, HttpVersion) { } } } +#endif // CURL_AT_LEAST_VERSION } // namespace } // namespace internal diff --git a/google/cloud/storage/tests/curl_request_integration_test.cc b/google/cloud/storage/tests/curl_request_integration_test.cc index c24c83b73c88d..39ad88e2835cc 100644 --- a/google/cloud/storage/tests/curl_request_integration_test.cc +++ b/google/cloud/storage/tests/curl_request_integration_test.cc @@ -45,10 +45,6 @@ std::string HttpBinEndpoint() { .value_or("https://httpbin.org"); } -bool UsingEmulator() { - return google::cloud::internal::GetEnv("HTTPBIN_ENDPOINT").has_value(); -} - // The integration tests sometimes flake (e.g. DNS failures) if we do not have a // retry loop. StatusOr RetryMakeRequest( @@ -357,6 +353,11 @@ TEST(CurlRequestTest, UserAgent) { EXPECT_THAT(headers.value("User-Agent", ""), HasSubstr("gcloud-cpp/")); } +#if CURL_AT_LEAST_VERSION(7, 43, 0) +bool UsingEmulator() { + return google::cloud::internal::GetEnv("HTTPBIN_ENDPOINT").has_value(); +} + /// @test Verify the HTTP Version option. TEST(CurlRequestTest, HttpVersion) { struct Test { @@ -400,6 +401,7 @@ TEST(CurlRequestTest, HttpVersion) { } } } +#endif // CURL_AT_LEAST_VERSION /// @test Verify that the Projection parameter is included if set. TEST(CurlRequestTest, WellKnownQueryParametersProjection) { diff --git a/google/cloud/storagetransfer/README.md b/google/cloud/storagetransfer/README.md index a00fef7b2f40f..264eaa841723c 100644 --- a/google/cloud/storagetransfer/README.md +++ b/google/cloud/storagetransfer/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/storagetransfer/quickstart/CMakeLists.txt b/google/cloud/storagetransfer/quickstart/CMakeLists.txt index 4b8c4872d0c0e..72af8ac6ffbed 100644 --- a/google/cloud/storagetransfer/quickstart/CMakeLists.txt +++ b/google/cloud/storagetransfer/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Storage Transfer API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-storagetransfer-quickstart CXX) find_package(google_cloud_cpp_storagetransfer REQUIRED) diff --git a/google/cloud/talent/README.md b/google/cloud/talent/README.md index 934d1a07c575a..f64f15cd33cb2 100644 --- a/google/cloud/talent/README.md +++ b/google/cloud/talent/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/talent/quickstart/CMakeLists.txt b/google/cloud/talent/quickstart/CMakeLists.txt index e5f4e4c7e7506..bcce1eebc5cb1 100644 --- a/google/cloud/talent/quickstart/CMakeLists.txt +++ b/google/cloud/talent/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Talent Solution API C++ client library # from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-talent-quickstart CXX) find_package(google_cloud_cpp_talent REQUIRED) diff --git a/google/cloud/tasks/README.md b/google/cloud/tasks/README.md index d19bbdeba85b6..f5ce606835cbc 100644 --- a/google/cloud/tasks/README.md +++ b/google/cloud/tasks/README.md @@ -10,7 +10,7 @@ client libraries do **not** follow [Semantic Versioning](https://semver.org/). ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/tasks/quickstart/CMakeLists.txt b/google/cloud/tasks/quickstart/CMakeLists.txt index 39741de00c425..7dbb8a4685ac0 100644 --- a/google/cloud/tasks/quickstart/CMakeLists.txt +++ b/google/cloud/tasks/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Tasks API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-tasks-quickstart CXX) find_package(google_cloud_cpp_tasks REQUIRED) diff --git a/google/cloud/texttospeech/README.md b/google/cloud/texttospeech/README.md index f3668a1a6b8c4..79292034c318f 100644 --- a/google/cloud/texttospeech/README.md +++ b/google/cloud/texttospeech/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/texttospeech/quickstart/CMakeLists.txt b/google/cloud/texttospeech/quickstart/CMakeLists.txt index 0b97913ade257..75665832822f7 100644 --- a/google/cloud/texttospeech/quickstart/CMakeLists.txt +++ b/google/cloud/texttospeech/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Text-to-Speech API C++ client library # from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-texttospeech-quickstart CXX) find_package(google_cloud_cpp_texttospeech REQUIRED) diff --git a/google/cloud/tpu/README.md b/google/cloud/tpu/README.md index 261e1bf4071ee..0ff986216e796 100644 --- a/google/cloud/tpu/README.md +++ b/google/cloud/tpu/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/tpu/quickstart/CMakeLists.txt b/google/cloud/tpu/quickstart/CMakeLists.txt index 548cd6e594ec6..9c7a97440bd28 100644 --- a/google/cloud/tpu/quickstart/CMakeLists.txt +++ b/google/cloud/tpu/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud TPU API C++ client library from a larger # CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-tpu-quickstart CXX) find_package(google_cloud_cpp_tpu REQUIRED) diff --git a/google/cloud/trace/README.md b/google/cloud/trace/README.md index ca3c15d5343af..e2d1c6daace60 100644 --- a/google/cloud/trace/README.md +++ b/google/cloud/trace/README.md @@ -13,7 +13,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/trace/quickstart/CMakeLists.txt b/google/cloud/trace/quickstart/CMakeLists.txt index f8bf5fad712b0..9f7587a594497 100644 --- a/google/cloud/trace/quickstart/CMakeLists.txt +++ b/google/cloud/trace/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Stackdriver Trace API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-trace-quickstart CXX) find_package(google_cloud_cpp_trace REQUIRED) diff --git a/google/cloud/translate/README.md b/google/cloud/translate/README.md index daa4c6246e5d6..993a01500126b 100644 --- a/google/cloud/translate/README.md +++ b/google/cloud/translate/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/translate/quickstart/CMakeLists.txt b/google/cloud/translate/quickstart/CMakeLists.txt index 307fa96e0323d..186bad5f64173 100644 --- a/google/cloud/translate/quickstart/CMakeLists.txt +++ b/google/cloud/translate/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Translation API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-translate-quickstart CXX) find_package(google_cloud_cpp_translate REQUIRED) diff --git a/google/cloud/video/README.md b/google/cloud/video/README.md index faf69758f8c12..0950bf4278621 100644 --- a/google/cloud/video/README.md +++ b/google/cloud/video/README.md @@ -21,7 +21,7 @@ Please note that the Google Cloud C++ client libraries do **not** follow ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/video/quickstart/CMakeLists.txt b/google/cloud/video/quickstart/CMakeLists.txt index 2bf563e8c0710..ace098abb7bc3 100644 --- a/google/cloud/video/quickstart/CMakeLists.txt +++ b/google/cloud/video/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Transcoder API C++ client library from a larger # CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-video-quickstart CXX) find_package(google_cloud_cpp_video REQUIRED) diff --git a/google/cloud/videointelligence/README.md b/google/cloud/videointelligence/README.md index 7fe2d0e56bcef..430422323003f 100644 --- a/google/cloud/videointelligence/README.md +++ b/google/cloud/videointelligence/README.md @@ -11,7 +11,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/videointelligence/quickstart/CMakeLists.txt b/google/cloud/videointelligence/quickstart/CMakeLists.txt index ff017194b7c60..1067fdd8237ab 100644 --- a/google/cloud/videointelligence/quickstart/CMakeLists.txt +++ b/google/cloud/videointelligence/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Video Intelligence API C++ client library # from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-videointelligence-quickstart CXX) find_package(google_cloud_cpp_videointelligence REQUIRED) diff --git a/google/cloud/vision/README.md b/google/cloud/vision/README.md index 1908f49e81a20..3102966b9fb65 100644 --- a/google/cloud/vision/README.md +++ b/google/cloud/vision/README.md @@ -12,7 +12,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/vision/quickstart/CMakeLists.txt b/google/cloud/vision/quickstart/CMakeLists.txt index 5bd95d0bd696a..c96f62f0e934c 100644 --- a/google/cloud/vision/quickstart/CMakeLists.txt +++ b/google/cloud/vision/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Cloud Vision API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-vision-quickstart CXX) find_package(google_cloud_cpp_vision REQUIRED) diff --git a/google/cloud/vmmigration/README.md b/google/cloud/vmmigration/README.md index 1175bf7a82449..40b1f35cce746 100644 --- a/google/cloud/vmmigration/README.md +++ b/google/cloud/vmmigration/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/vmmigration/quickstart/CMakeLists.txt b/google/cloud/vmmigration/quickstart/CMakeLists.txt index 99a13d50195b2..757863ed42937 100644 --- a/google/cloud/vmmigration/quickstart/CMakeLists.txt +++ b/google/cloud/vmmigration/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the VM Migration API C++ client library from a # larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-vmmigration-quickstart CXX) find_package(google_cloud_cpp_vmmigration REQUIRED) diff --git a/google/cloud/vpcaccess/README.md b/google/cloud/vpcaccess/README.md index 3541e3bc74389..5e8725c87bd24 100644 --- a/google/cloud/vpcaccess/README.md +++ b/google/cloud/vpcaccess/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/vpcaccess/quickstart/CMakeLists.txt b/google/cloud/vpcaccess/quickstart/CMakeLists.txt index 75af7e552cc9f..fbff13cc0333a 100644 --- a/google/cloud/vpcaccess/quickstart/CMakeLists.txt +++ b/google/cloud/vpcaccess/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Serverless VPC Access API C++ client library # from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-vpcaccess-quickstart CXX) find_package(google_cloud_cpp_vpcaccess REQUIRED) diff --git a/google/cloud/webrisk/README.md b/google/cloud/webrisk/README.md index d252f649434dc..944bea0039a50 100644 --- a/google/cloud/webrisk/README.md +++ b/google/cloud/webrisk/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/webrisk/quickstart/CMakeLists.txt b/google/cloud/webrisk/quickstart/CMakeLists.txt index 70de0258a9fd8..58ca878b41869 100644 --- a/google/cloud/webrisk/quickstart/CMakeLists.txt +++ b/google/cloud/webrisk/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Web Risk API C++ client library from a larger # CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-webrisk-quickstart CXX) find_package(google_cloud_cpp_webrisk REQUIRED) diff --git a/google/cloud/websecurityscanner/README.md b/google/cloud/websecurityscanner/README.md index 5891e991b0526..c02ff68ac8916 100644 --- a/google/cloud/websecurityscanner/README.md +++ b/google/cloud/websecurityscanner/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/websecurityscanner/quickstart/CMakeLists.txt b/google/cloud/websecurityscanner/quickstart/CMakeLists.txt index bac275ccc7f0f..3da8a9f8e9c37 100644 --- a/google/cloud/websecurityscanner/quickstart/CMakeLists.txt +++ b/google/cloud/websecurityscanner/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Web Security Scanner API C++ client library # from a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-websecurityscanner-quickstart CXX) find_package(google_cloud_cpp_websecurityscanner REQUIRED) diff --git a/google/cloud/workflows/README.md b/google/cloud/workflows/README.md index 8aeb5cce1b238..12f1f87ebd2d8 100644 --- a/google/cloud/workflows/README.md +++ b/google/cloud/workflows/README.md @@ -10,7 +10,7 @@ While this library is **GA**, please note that the Google Cloud C++ client libra ## Supported Platforms * Windows, macOS, Linux -* C++14 (and higher) compilers (we test with GCC >= 5.4, Clang >= 6.0, and +* C++14 (and higher) compilers (we test with GCC >= 7.3, Clang >= 6.0, and MSVC >= 2017) * Environments with or without exceptions * Bazel (>= 4.0) and CMake (>= 3.5) builds diff --git a/google/cloud/workflows/quickstart/CMakeLists.txt b/google/cloud/workflows/quickstart/CMakeLists.txt index 58cda4b9ed5c1..dd8542a7a3b91 100644 --- a/google/cloud/workflows/quickstart/CMakeLists.txt +++ b/google/cloud/workflows/quickstart/CMakeLists.txt @@ -15,7 +15,7 @@ # This file shows how to use the Workflow Executions API C++ client library from # a larger CMake project. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(google-cloud-cpp-workflows-quickstart CXX) find_package(google_cloud_cpp_workflows REQUIRED)