You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, included like this, benchmark doesn't build:
> bazel build @benchmark//:benchmark
ERROR: no such package '@@[unknown repo 'platforms' requested from @@+_repo_rules+benchmark]//os': The repository '@@[unknown repo 'platforms' requested from @@+_repo_rules+benchmark]' could not be resolved: No repository visible as '@platforms' from repository '@@+_repo_rules+benchmark'
ERROR: /home/debian/.cache/bazel/_bazel_debian/dd361b7f393c74ecd4bce5d0457e94c7/external/+_repo_rules+benchmark/BUILD.bazel:29:15: no such package '@@[unknown repo 'platforms' requested from @@+_repo_rules+benchmark]//os': The repository '@@[unknown repo 'platforms' requested from @@+_repo_rules+benchmark]' could not be resolved: No repository visible as '@platforms' from repository '@@+_repo_rules+benchmark' and referenced by '@@+_repo_rules+benchmark//:windows'
ERROR: /home/debian/.cache/bazel/_bazel_debian/dd361b7f393c74ecd4bce5d0457e94c7/external/+_repo_rules+benchmark/BUILD.bazel:52:11: errors encountered resolving select() keys for @@+_repo_rules+benchmark//:benchmark
ERROR: Analysis of target '@@+_repo_rules+benchmark//:benchmark' failed; build aborted
INFO: Elapsed time: 0.084s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
ERROR: Build did NOT complete successfully
System
Which OS, compiler, and compiler version are you using:
Set up a project with Bazel and include the dependency above in your MODULE
Try to build the :benchmark target, as show above
Expected behavior
Ideally, you should have instructions about how to use this project with Bazel, and they should probably involve publishing to the module registry.
Absent that, the project should build cleanly when included as an external dependency.
The text was updated successfully, but these errors were encountered:
Describe the bug
There are no instructions by the project about how to use it from a Bazel project, so the usual thing is to get it via http_archive, like this:
However, included like this, benchmark doesn't build:
System
Which OS, compiler, and compiler version are you using:
To reproduce
Steps to reproduce the behavior:
Expected behavior
Ideally, you should have instructions about how to use this project with Bazel, and they should probably involve publishing to the module registry.
Absent that, the project should build cleanly when included as an external dependency.
The text was updated successfully, but these errors were encountered: