From 9d8e43f4d941f2601f53ff5a683e77ed9084f12c Mon Sep 17 00:00:00 2001 From: Christian Blichmann Date: Wed, 22 Dec 2021 01:07:32 -0800 Subject: [PATCH] Update Googletest dependency This fixes a build warning about an uninitialized variable whiche turns into an error in recent Clang versions. PiperOrigin-RevId: 417768690 Change-Id: I5c3407d5e51a1411db8cc312e49694de0866eb45 --- WORKSPACE | 6 +++--- cmake/googletest.cmake | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index dfc94f9..3edef34 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -49,9 +49,9 @@ http_archive( maybe( http_archive, name = "com_google_googletest", - sha256 = "a6ab7c7d6fd4dd727f6012b5d85d71a73d3aa1274f529ecd4ad84eb9ec4ff767", # 2020-04-16 - strip_prefix = "googletest-dcc92d0ab6c4ce022162a23566d44f673251eee4", - urls = ["https://github.com/google/googletest/archive/dcc92d0ab6c4ce022162a23566d44f673251eee4.zip"], + sha256 = "1009ce4e75a64a4e61bcb2efaa256f9d54e6a859a2985cb6fa57c06d45356866", # 2021-12-20 + strip_prefix = "googletest-9a32aee22d771387c494be2d8519fbdf46a713b2", + urls = ["https://github.com/google/googletest/archive/9a32aee22d771387c494be2d8519fbdf46a713b2.zip"], ) # Google Benchmark diff --git a/cmake/googletest.cmake b/cmake/googletest.cmake index 73ab62b..f791622 100644 --- a/cmake/googletest.cmake +++ b/cmake/googletest.cmake @@ -16,8 +16,8 @@ set(workdir "${CMAKE_BINARY_DIR}/_deps/googletest-populate") set(SAPI_GOOGLETEST_GIT_REPOSITORY https://github.com/google/googletest.git CACHE STRING "") -set(SAPI_GOOGLETEST_GIT_TAG dcc92d0ab6c4ce022162a23566d44f673251eee4 - CACHE STRING "") # 2020-04-16 +set(SAPI_GOOGLETEST_GIT_TAG 9a32aee22d771387c494be2d8519fbdf46a713b2 + CACHE STRING "") # 2021-12-20 set(SAPI_GOOGLETEST_SOURCE_DIR "${CMAKE_BINARY_DIR}/_deps/googletest-src" CACHE STRING "") set(SAPI_GOOGLETEST_BINARY_DIR "${CMAKE_BINARY_DIR}/_deps/googletest-build"