This repository was archived by the owner on Jul 31, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed
Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,14 @@ http_archive(
2929 urls = ["https://github.com/google/googletest/archive/master.zip" ],
3030)
3131
32+ # Google Benchmark library.
33+ # Only needed for benchmarks, not to build the OpenCensus library.
34+ http_archive (
35+ name = "com_github_google_benchmark" ,
36+ urls = ["https://github.com/google/benchmark/archive/master.zip" ],
37+ strip_prefix = "benchmark-master" ,
38+ )
39+
3240# gRPC
3341http_archive (
3442 name = "com_github_grpc_grpc" ,
5058 actual = "@com_github_grpc_grpc//:grpc_cpp_plugin" ,
5159)
5260
53- # Google Benchmark library.
54- # Only needed for benchmarks, not to build the OpenCensus library.
55- http_archive (
56- name = "com_google_benchmark" ,
57- urls = ["https://github.com/google/benchmark/archive/master.zip" ],
58- strip_prefix = "benchmark-master" ,
59- )
60-
6161# Prometheus client library - used by Prometheus exporter.
6262http_archive (
6363 name = "com_github_jupp0r_prometheus_cpp" ,
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ cc_binary(
7878 linkstatic = 1 ,
7979 deps = [
8080 ":random_lib" ,
81- "@com_google_benchmark //:benchmark" ,
81+ "@com_github_google_benchmark //:benchmark" ,
8282 ],
8383)
8484
Original file line number Diff line number Diff line change @@ -268,6 +268,6 @@ cc_binary(
268268 "@com_google_absl//absl/memory" ,
269269 "@com_google_absl//absl/strings" ,
270270 "@com_google_absl//absl/time" ,
271- "@com_google_benchmark //:benchmark" ,
271+ "@com_github_google_benchmark //:benchmark" ,
272272 ],
273273)
Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ cc_binary(
279279 linkstatic = 1 ,
280280 deps = [
281281 ":trace" ,
282- "@com_google_benchmark //:benchmark" ,
282+ "@com_github_google_benchmark //:benchmark" ,
283283 ],
284284)
285285
@@ -292,7 +292,7 @@ cc_binary(
292292 linkstatic = 1 ,
293293 deps = [
294294 ":trace" ,
295- "@com_google_benchmark //:benchmark" ,
295+ "@com_github_google_benchmark //:benchmark" ,
296296 ],
297297)
298298
@@ -305,6 +305,6 @@ cc_binary(
305305 linkstatic = 1 ,
306306 deps = [
307307 ":trace" ,
308- "@com_google_benchmark //:benchmark" ,
308+ "@com_github_google_benchmark //:benchmark" ,
309309 ],
310310)
You can’t perform that action at this time.
0 commit comments