Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
common --enable_platform_specific_config

# Test BCR PR #6586 (codspeed v2.0.0)
# This registry override allows testing the BCR PR before it's merged
common --registry=https://raw.githubusercontent.com/CodSpeedHQ/bazel-central-registry/codspeed-v2.0/
common --registry=https://bcr.bazel.build

build --verbose_failures
build --build_tag_filters=-off-by-default
test --test_tag_filters=-off-by-default,-requires-fuzzilli
Expand Down
6 changes: 3 additions & 3 deletions build/google-benchmark/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ package(default_visibility = ["//visibility:public"])

cc_library(
name = "benchmark",
deps = ["@codspeed//google_benchmark:benchmark"],
deps = ["@codspeed//:benchmark"],
)

cc_library(
name = "benchmark_main",
deps = ["@codspeed//google_benchmark:benchmark_main"],
deps = ["@codspeed//:benchmark_main"],
)

alias(
name = "codspeed_mode",
actual = "@codspeed//core:codspeed_mode",
actual = "@codspeed//:codspeed_mode",
)
10 changes: 2 additions & 8 deletions build/google-benchmark/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,5 @@ bazel_dep(name = "bazel_skylib", version = "1.8.1")
bazel_dep(name = "platforms", version = "1.0.0")
bazel_dep(name = "rules_cc", version = "0.2.8")

git_repository = use_repo_rule("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")

git_repository(
name = "codspeed",
commit = "20ab8dcbaf63b4d0c0ed3ac498cfe3f8104fac36", # v1.4.1
recursive_init_submodules = True,
remote = "https://github.com/CodSpeedHQ/codspeed-cpp",
)
# CodSpeed performance monitoring from BCR PR #6586
bazel_dep(name = "codspeed_google_benchmark_compat", version = "2.0.0", repo_name = "codspeed")
Loading