Upgrade google/benchmark to v1.7.0 (#30902)

* Upgrade google/benchmark to v1.7.0

Reason: Setup and Teardown methods are nice to have for multithreaded
tests.

* use version tag

* Revert "use version tag"

This reverts commit 6c7f5e0d35.
pull/30798/head^2
AJ Heller 3 years ago committed by GitHub
parent 3b728d78f1
commit d547df2872
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      bazel/grpc_deps.bzl
  2. 1
      grpc.gyp
  3. 2
      third_party/benchmark
  4. 2
      tools/run_tests/sanity/check_submodules.sh

@ -254,11 +254,11 @@ def grpc_deps():
if "com_github_google_benchmark" not in native.existing_rules():
http_archive(
name = "com_github_google_benchmark",
sha256 = "0b921a3bc39e35f4275c8dcc658af2391c150fb966102341287b0401ff2e6f21",
strip_prefix = "benchmark-0baacde3618ca617da95375e0af13ce1baadea47",
sha256 = "3a43368d3ec48afe784573cf962fe98c084e89a1e3d176c00715a84366316e7d",
strip_prefix = "benchmark-361e8d1cfe0c6c36d30b39f1b61302ece5507320",
urls = [
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/benchmark/archive/0baacde3618ca617da95375e0af13ce1baadea47.tar.gz",
"https://github.com/google/benchmark/archive/0baacde3618ca617da95375e0af13ce1baadea47.tar.gz",
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/benchmark/archive/361e8d1cfe0c6c36d30b39f1b61302ece5507320.tar.gz",
"https://github.com/google/benchmark/archive/361e8d1cfe0c6c36d30b39f1b61302ece5507320.tar.gz",
],
)

1
grpc.gyp generated

@ -2011,6 +2011,7 @@
'third_party/benchmark/src/benchmark_name.cc',
'third_party/benchmark/src/benchmark_register.cc',
'third_party/benchmark/src/benchmark_runner.cc',
'third_party/benchmark/src/check.cc',
'third_party/benchmark/src/colorprint.cc',
'third_party/benchmark/src/commandlineflags.cc',
'third_party/benchmark/src/complexity.cc',

@ -1 +1 @@
Subproject commit 0baacde3618ca617da95375e0af13ce1baadea47
Subproject commit 361e8d1cfe0c6c36d30b39f1b61302ece5507320

@ -26,7 +26,7 @@ want_submodules=$(mktemp /tmp/submXXXXXX)
git submodule | awk '{ print $2 " " $1 }' | sort >"$submodules"
cat <<EOF | sort >"$want_submodules"
third_party/abseil-cpp 273292d1cfc0a94a65082ee350509af1d113344d
third_party/benchmark 0baacde3618ca617da95375e0af13ce1baadea47
third_party/benchmark 361e8d1cfe0c6c36d30b39f1b61302ece5507320
third_party/bloaty 60209eb1ccc34d5deefb002d1b7f37545204f7f2
third_party/boringssl-with-bazel b9232f9e27e5668bc0414879dcdedb2a59ea75f2
third_party/cares/cares 6654436a307a5a686b008c1d4c93b0085da6e6d8

Loading…
Cancel
Save