We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 497d847 commit 05860a1Copy full SHA for 05860a1
BUILD
@@ -11,7 +11,15 @@ cc_binary(
11
)
12
13
cc_binary(
14
+ # deprecated in favor of benchmarks below
15
name = "benchmark",
16
srcs = ["benchmark.cc", "tictoc.hpp"],
17
deps = [":soa"]
18
19
+
20
+cc_binary(
21
+ name = "benchmarks",
22
+ srcs = ["benchmarks.cc"],
23
+ deps = [":soa",
24
+ "@com_github_google_benchmark//:benchmark_main"]
25
+)
WORKSPACE
@@ -1 +1,8 @@
1
workspace(name = "vapid")
2
3
+load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
4
5
+http_archive(
6
+ name = "com_github_google_benchmark",
7
+ url = "https://github.com/google/benchmark/archive/refs/tags/v1.6.1.zip",
8
+ strip_prefix = "benchmark-1.6.1")
0 commit comments