[deps] Upgrade google/benchmark dependency (#33736)

Some command line arguments have changed, and the public docs no longer
describe how to use the 1-year-old version.
pull/33748/head
AJ Heller 1 year ago committed by GitHub
parent aa7c982567
commit 107e4dc0b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      WORKSPACE
  2. 8
      bazel/grpc_deps.bzl
  3. 1
      grpc.gyp
  4. 2
      third_party/benchmark
  5. 2
      tools/run_tests/sanity/check_submodules.sh

@ -96,6 +96,12 @@ load(
swift_rules_dependencies() swift_rules_dependencies()
# This loads the libpfm transitive dependency.
# See https://github.com/google/benchmark/pull/1520
load("@com_github_google_benchmark//:bazel/benchmark_deps.bzl", "benchmark_deps")
benchmark_deps()
# TODO: Enable below once https://github.com/bazel-xcode/PodToBUILD/issues/232 is resolved # TODO: Enable below once https://github.com/bazel-xcode/PodToBUILD/issues/232 is resolved
# #
#http_archive( #http_archive(

@ -304,11 +304,11 @@ def grpc_deps():
if "com_github_google_benchmark" not in native.existing_rules(): if "com_github_google_benchmark" not in native.existing_rules():
http_archive( http_archive(
name = "com_github_google_benchmark", name = "com_github_google_benchmark",
sha256 = "3a43368d3ec48afe784573cf962fe98c084e89a1e3d176c00715a84366316e7d", sha256 = "4e47ca279d5ae967c506c136bd8afb42eedcaf010aebb48a0e87790cae4b488a",
strip_prefix = "benchmark-361e8d1cfe0c6c36d30b39f1b61302ece5507320", strip_prefix = "benchmark-015d1a091af6937488242b70121858bce8fd40e9",
urls = [ urls = [
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/benchmark/archive/361e8d1cfe0c6c36d30b39f1b61302ece5507320.tar.gz", # v1.8.2
"https://github.com/google/benchmark/archive/361e8d1cfe0c6c36d30b39f1b61302ece5507320.tar.gz", "https://github.com/google/benchmark/archive/015d1a091af6937488242b70121858bce8fd40e9.tar.gz",
], ],
) )

1
grpc.gyp generated

@ -2319,7 +2319,6 @@
'third_party/benchmark/src/json_reporter.cc', 'third_party/benchmark/src/json_reporter.cc',
'third_party/benchmark/src/perf_counters.cc', 'third_party/benchmark/src/perf_counters.cc',
'third_party/benchmark/src/reporter.cc', 'third_party/benchmark/src/reporter.cc',
'third_party/benchmark/src/sleep.cc',
'third_party/benchmark/src/statistics.cc', 'third_party/benchmark/src/statistics.cc',
'third_party/benchmark/src/string_util.cc', 'third_party/benchmark/src/string_util.cc',
'third_party/benchmark/src/sysinfo.cc', 'third_party/benchmark/src/sysinfo.cc',

@ -1 +1 @@
Subproject commit 361e8d1cfe0c6c36d30b39f1b61302ece5507320 Subproject commit 015d1a091af6937488242b70121858bce8fd40e9

@ -26,7 +26,7 @@ want_submodules=$(mktemp /tmp/submXXXXXX)
git submodule | awk '{ print $2 " " $1 }' | sort >"$submodules" git submodule | awk '{ print $2 " " $1 }' | sort >"$submodules"
cat <<EOF | sort >"$want_submodules" cat <<EOF | sort >"$want_submodules"
third_party/abseil-cpp c2435f8342c2d0ed8101cb43adfd605fdc52dca2 third_party/abseil-cpp c2435f8342c2d0ed8101cb43adfd605fdc52dca2
third_party/benchmark 361e8d1cfe0c6c36d30b39f1b61302ece5507320 third_party/benchmark 015d1a091af6937488242b70121858bce8fd40e9
third_party/bloaty 60209eb1ccc34d5deefb002d1b7f37545204f7f2 third_party/bloaty 60209eb1ccc34d5deefb002d1b7f37545204f7f2
third_party/boringssl-with-bazel 342e805bc1f5dfdd650e3f031686d6c939b095d9 third_party/boringssl-with-bazel 342e805bc1f5dfdd650e3f031686d6c939b095d9
third_party/cares/cares 6360e96b5cf8e5980c887ce58ef727e53d77243a third_party/cares/cares 6360e96b5cf8e5980c887ce58ef727e53d77243a

Loading…
Cancel
Save