diff options
author | Derek Mauro <761129+derekmauro@users.noreply.github.com> | 2024-08-01 14:05:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-01 14:05:11 -0400 |
commit | 4447c7562e3bc702ade25105912dce503f0c4010 (patch) | |
tree | 7d7c3f8f2c41ec3a809d9f7985116f485da48c5d | |
parent | 7e5c339b1aa790ae03cc614a8d7626d5b4831891 (diff) |
Update GoogleTest dependency to 1.15.2 (#1736)20240722.0
This updates to a version of GoogleTest that fixes
https://github.com/google/googletest/issues/4581
for downstream users of rules_python
Cherry-pick of d0159eab5985aa8561ccda9ee9987d6b2726fd76
-rw-r--r-- | MODULE.bazel | 2 | ||||
-rw-r--r-- | WORKSPACE | 6 | ||||
-rw-r--r-- | ci/cmake_common.sh | 2 | ||||
-rwxr-xr-x | ci/windows_msvc_cmake.bat | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/MODULE.bazel b/MODULE.bazel index 08112b9a..75285b61 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -35,7 +35,7 @@ bazel_dep(name = "google_benchmark", dev_dependency = True) bazel_dep(name = "googletest", - version = "1.15.0", + version = "1.15.2", repo_name = "com_google_googletest") bazel_dep(name = "platforms", @@ -21,11 +21,11 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # GoogleTest/GoogleMock framework. Used by most unit-tests. http_archive( name = "com_google_googletest", - sha256 = "7315acb6bf10e99f332c8a43f00d5fbb1ee6ca48c52f6b936991b216c586aaad", - strip_prefix = "googletest-1.15.0", + sha256 = "7b42b4d6ed48810c5362c265a17faebe90dc2373c885e5216439d37927f02926", + strip_prefix = "googletest-1.15.2", # Keep this URL in sync with the version in ci/cmake_common.sh and # ci/windows_msvc_cmake.bat. - urls = ["https://github.com/google/googletest/releases/download/v1.15.0/googletest-1.15.0.tar.gz"], + urls = ["https://github.com/google/googletest/releases/download/v1.15.2/googletest-1.15.2.tar.gz"], ) # RE2 (the regular expression library used by GoogleTest) diff --git a/ci/cmake_common.sh b/ci/cmake_common.sh index ba45ecb4..c8a5b857 100644 --- a/ci/cmake_common.sh +++ b/ci/cmake_common.sh @@ -14,6 +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. -readonly ABSL_GOOGLETEST_VERSION="1.15.0" +readonly ABSL_GOOGLETEST_VERSION="1.15.2" readonly ABSL_GOOGLETEST_DOWNLOAD_URL="https://github.com/google/googletest/releases/download/v${ABSL_GOOGLETEST_VERSION}/googletest-${ABSL_GOOGLETEST_VERSION}.tar.gz" diff --git a/ci/windows_msvc_cmake.bat b/ci/windows_msvc_cmake.bat index 5422628d..c9aee785 100755 --- a/ci/windows_msvc_cmake.bat +++ b/ci/windows_msvc_cmake.bat @@ -16,7 +16,7 @@ SETLOCAL ENABLEDELAYEDEXPANSION :: The version of GoogleTest to be used in the CMake tests in this directory. :: Keep this in sync with the version in the WORKSPACE file. -SET ABSL_GOOGLETEST_VERSION=1.15.0 +SET ABSL_GOOGLETEST_VERSION=1.15.2 SET ABSL_GOOGLETEST_DOWNLOAD_URL=https://github.com/google/googletest/releases/download/v%ABSL_GOOGLETEST_VERSION%/googletest-%ABSL_GOOGLETEST_VERSION%.tar.gz :: Replace '\' with '/' in Windows paths for CMake. |