Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a benchmark_deps.bzl function to Google Benchmark #1520

Merged
merged 2 commits into from
Dec 19, 2022

Conversation

nicholasjng
Copy link
Contributor

This commit adds a Bazel setup function, called benchmark_deps.bzl, to simplify pulling in Google Benchmark's build dependencies into a Bazel workspace for downstream users.

Google Benchmark's own WORKSPACE was also migrated to use this new function in a078e7b.

The presented workspace function was modeled off of issue #1510 and references therein, specifically gRPC.

Fixes #1510.

This commit adds a `benchmark_workspace.bzl` function to Google
Benchmark. It is intended to be used as a means to pull in Google
Benchmark's build dependencies in its own Bazel workspace, as well
as in workspaces of downstream projects.
This commit changes Google Benchmark's own WORKSPACE to use the newly
created `benchmark_deps.bzl` function.
@dmah42 dmah42 merged commit dfd2ae5 into google:main Dec 19, 2022
@nicholasjng nicholasjng deleted the benchmark-workspace branch July 10, 2023 09:57
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.

[bazel][FR] Consider a workspace() function to recursively add dependencies
2 participants