Upgrade google-benchmark to v1.7.1
Also, swap to using an http archive + patch file instead of a subtree.
Change-Id: I4f3e1100667a74e1d37d868e26b840aa32b98923
Signed-off-by: James Kuszmaul <jabukuszmaul+collab@gmail.com>
diff --git a/WORKSPACE b/WORKSPACE
index 3ed0f2b..efd9a96 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -695,9 +695,13 @@
)
# External dependency: Google Benchmark; has no Bazel build.
-local_repository(
+http_archive(
name = "com_github_google_benchmark",
- path = "third_party/google-benchmark",
+ patch_args = ["-p1"],
+ patches = ["//third_party/google-benchmark:benchmark.patch"],
+ sha256 = "6430e4092653380d9dc4ccb45a1e2dc9259d581f4866dc0759713126056bc1d7",
+ strip_prefix = "benchmark-1.7.1",
+ urls = ["https://github.com/google/benchmark/archive/refs/tags/v1.7.1.tar.gz"],
)
local_repository(