Skip to content

docs: document Bazel integration - #2238

Merged
dmah42 merged 2 commits into
google:mainfrom
tuna4ll:docs/bazel
Jul 2, 2026
Merged

docs: document Bazel integration#2238
dmah42 merged 2 commits into
google:mainfrom
tuna4ll:docs/bazel

Conversation

@tuna4ll

@tuna4ll tuna4ll commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add Bazel integration documentation for Bzlmod and WORKSPACE users.
  • Document @google_benchmark//:benchmark vs @google_benchmark//:benchmark_main.
  • Link the Bazel docs from the README and docs index.

Fixes #1951.

@google-cla

google-cla Bot commented Jul 1, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Comment thread README.md Outdated
If using Bazel with Bzlmod, add Google Benchmark to your `MODULE.bazel` file:

```starlark
bazel_dep(name = "google_benchmark", version = "1.9.5")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps let's not document the exact version

@tuna4ll tuna4ll Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Thank you for your review, I will replace the exact version with a placeholder so the documentation doesn’t become outdated.

@dmah42
dmah42 merged commit b3a8d2f into google:main Jul 2, 2026
92 checks passed
@dmah42

dmah42 commented Jul 2, 2026

Copy link
Copy Markdown
Member

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOC] Document Bazel integration

2 participants