Skip to content

Commit

Permalink
Fix fleetbench build under bazel 6. Ensure we have a recent version o…
Browse files Browse the repository at this point in the history
…f bazel-skylib to avoid our dependencies pulling in an old one.

#5

PiperOrigin-RevId: 501894355
Change-Id: Ia0a358807facfdfbaf91db91671c9f597e5041d2
  • Loading branch information
rjogrady authored and Copybara-Service committed Jan 13, 2023
1 parent ca64d62 commit d765040
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ workspace(name = "com_google_fleetbench")

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

# Load a recent version of skylib in case our dependencies have obsolete
# versions. This is needed for bazel 6 compatibility.
http_archive(
name = "bazel_skylib", # 2022-09-01
urls = ["https://github.com/bazelbuild/bazel-skylib/archive/refs/tags/1.3.0.zip"],
strip_prefix = "bazel-skylib-1.3.0",
sha256 = "4756ab3ec46d94d99e5ed685d2d24aece484015e45af303eb3a11cab3cdc2e71",
)

# Support for building foreign build system dependencies. Needed for libpfm.
http_archive(
name = "rules_foreign_cc", # 2023-01-12
Expand Down

1 comment on commit d765040

@rjogrady
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixes #5

Please sign in to comment.