Update Google Benchmark dependency

The newer version includes a fix for a compilation error on newer
systems (specfically, `benchmark_register.h` was missing an include
for the `limits` header).

PiperOrigin-RevId: 417814324
Change-Id: I43464cf48d7a7d3954acffdb78b284850ba60144
This commit is contained in:
Christian Blichmann 2021-12-22 07:10:45 -08:00 committed by Copybara-Service
parent 8b61945e93
commit e5a810eef4
2 changed files with 5 additions and 5 deletions

View File

@ -58,7 +58,7 @@ maybe(
maybe(
http_archive,
name = "com_google_benchmark",
sha256 = "7f45be0bff07d787d75c3864212e9ea5ebba57593b2e487c783d11da70ef6857", # 2020-04-23
strip_prefix = "benchmark-56898e9a92fba537671d5462df9c5ef2ea6a823a",
urls = ["https://github.com/google/benchmark/archive/56898e9a92fba537671d5462df9c5ef2ea6a823a.zip"],
sha256 = "12663580821c69f5a71217433b58e96f061570f0e18d94891b82115fcdb4284d", # 2021-12-14
strip_prefix = "benchmark-3b3de69400164013199ea448f051d94d7fc7d81f",
urls = ["https://github.com/google/benchmark/archive/3b3de69400164013199ea448f051d94d7fc7d81f.zip"],
)

View File

@ -16,8 +16,8 @@ set(workdir "${CMAKE_BINARY_DIR}/_deps/benchmark-populate")
set(SAPI_BENCHMARK_GIT_REPOSITORY https://github.com/google/benchmark.git
CACHE STRING "")
set(SAPI_BENCHMARK_GIT_TAG 56898e9a92fba537671d5462df9c5ef2ea6a823a
CACHE STRING "") # 2020-04-23
set(SAPI_BENCHMARK_GIT_TAG 3b3de69400164013199ea448f051d94d7fc7d81f
CACHE STRING "") # 2021-12-14
set(SAPI_BENCHMARK_SOURCE_DIR "${CMAKE_BINARY_DIR}/_deps/benchmark-src"
CACHE STRING "")
set(SAPI_BENCHMARK_BINARY_DIR "${CMAKE_BINARY_DIR}/_deps/benchmark-build"