aboutsummaryrefslogtreecommitdiff
path: root/ci/cmake_common.sh
diff options
context:
space:
mode:
authorDerek Mauro <dmauro@google.com>2024-07-18 04:31:54 -0700
committerCopybara-Service <copybara-worker@google.com>2024-07-18 04:32:47 -0700
commit7795d0843a72b6c2994941763aee14519bbcfccd (patch)
tree5fc594700e36c8bab4cc781b65604c10b313c5d6 /ci/cmake_common.sh
parenteb852207758a773965301d0ae717e4235fc5301a (diff)
downloadabseil-7795d0843a72b6c2994941763aee14519bbcfccd.tar.gz
abseil-7795d0843a72b6c2994941763aee14519bbcfccd.tar.bz2
abseil-7795d0843a72b6c2994941763aee14519bbcfccd.zip
Update versions of dependencies in preparation for release
PiperOrigin-RevId: 653567769 Change-Id: I0448322da95558ff6a04ab1aeab2b238674b69d1
Diffstat (limited to 'ci/cmake_common.sh')
-rw-r--r--ci/cmake_common.sh14
1 files changed, 2 insertions, 12 deletions
diff --git a/ci/cmake_common.sh b/ci/cmake_common.sh
index 784b3815..ba45ecb4 100644
--- a/ci/cmake_common.sh
+++ b/ci/cmake_common.sh
@@ -14,16 +14,6 @@
# The commit of GoogleTest to be used in the CMake tests in this directory.
# Keep this in sync with the commit in the WORKSPACE file.
-# TODO(dmauro): After the next GoogleTest release, use the stable file required
-# by Bzlmod. This means downloading a copy of the file and reuploading it to
-# avoid changing checksums if the compression is changed by GitHub. It also
-# means stop referring to it as a commit and instead use the uploaded filename.
-readonly ABSL_GOOGLETEST_COMMIT="f8d7d77c06936315286eb55f8de22cd23c188571"
+readonly ABSL_GOOGLETEST_VERSION="1.15.0"
-# Avoid depending on GitHub by looking for a cached copy of the commit first.
-if [[ -r "${KOKORO_GFILE_DIR:-}/distdir/${ABSL_GOOGLETEST_COMMIT}.zip" ]]; then
- DOCKER_EXTRA_ARGS="--mount type=bind,source=${KOKORO_GFILE_DIR}/distdir,target=/distdir,readonly ${DOCKER_EXTRA_ARGS:-}"
- ABSL_GOOGLETEST_DOWNLOAD_URL="file:///distdir/${ABSL_GOOGLETEST_COMMIT}.zip"
-else
- ABSL_GOOGLETEST_DOWNLOAD_URL="https://github.com/google/googletest/archive/${ABSL_GOOGLETEST_COMMIT}.zip"
-fi
+readonly ABSL_GOOGLETEST_DOWNLOAD_URL="https://github.com/google/googletest/releases/download/v${ABSL_GOOGLETEST_VERSION}/googletest-${ABSL_GOOGLETEST_VERSION}.tar.gz"