Skip to content

Commit bd3eba2

Browse files
committed
fix
1 parent e173375 commit bd3eba2

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

build/google-benchmark/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1+
package(default_visibility = ["//visibility:public"])
2+
13
cc_library(
24
name = "benchmark",
35
deps = [ "@codspeed//google_benchmark:benchmark" ],
4-
visibility = ["//visibility:public"],
56
)
67

78
cc_library(
89
name = "benchmark_main",
910
deps = [ "@codspeed//google_benchmark:benchmark_main" ],
10-
visibility = ["//visibility:public"],
1111
)
1212

1313
alias(

build/google-benchmark/MODULE.bazel

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
module(name = "workerd-google-benchmark")
22

3-
bazel_dep(name = "rules_cc", version = "0.2.8")
3+
bazel_dep(name = "bazel_skylib", version = "1.8.1")
44
bazel_dep(name = "platforms", version = "1.0.0")
5+
bazel_dep(name = "rules_cc", version = "0.2.8")
56

67
http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
78

89
http_archive(
910
name = "codspeed",
1011
url = "https://api.github.com/repos/CodSpeedHQ/codspeed-cpp/tarball/v1.2.0",
12+
patches = ["codspeed_pr_21.patch"],
1113
strip_prefix = "CodSpeedHQ-codspeed-cpp-719c41f",
1214
type = "tgz",
1315
sha256 = "1ced2c2e813313a574f41de9a218f38b53a4114cf7e72ee286801eaba6d8b240",
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--- core/BUILD
2+
+++ core/BUILD
3+
@@ -67,6 +67,7 @@ string_flag(
4+
"instrumentation",
5+
"walltime",
6+
],
7+
+ visibility = ["//visibility:public"],
8+
)
9+
10+
config_setting(

0 commit comments

Comments
 (0)