Skip to content

Commit 42eb0db

Browse files
akuegeltensorflower-gardener
authored andcommitted
Remove failing deps check.
Downloading libpfm fails with 403 Forbidden error. PiperOrigin-RevId: 830345061
1 parent 978f51e commit 42eb0db

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

third_party/xla/.github/workflows/bazel_query.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
run: parallel --ungroup --retries 3 --delay 15 --nonall -- bazelisk build --nobuild //xla/...
4242
- name: "Run bazel query //xla/..."
4343
run: bazelisk query //xla/... > /dev/null
44-
- name: "Run bazel query deps(//xla/...)"
45-
run: bazelisk query "deps(//xla/...)" > /dev/null
46-
- name: "Check that TSL doesn't depend on XLA"
47-
run: |
48-
bazelisk query "somepath(//xla/tsl/..., //xla/... -//xla/tsl/...)" |& tee /dev/fd/2 | grep -q "INFO: Empty results"
44+
# - name: "Run bazel query deps(//xla/...)"
45+
# run: bazelisk query "deps(//xla/...)" > /dev/null
46+
# - name: "Check that TSL doesn't depend on XLA"
47+
# run: |
48+
# bazelisk query "somepath(//xla/tsl/..., //xla/... -//xla/tsl/...)" |& tee /dev/fd/2 | grep -q "INFO: Empty results"

third_party/xla/workspace0.bzl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ load("@build_bazel_apple_support//lib:repositories.bzl", "apple_support_dependen
66
load("@build_bazel_rules_apple//apple:repositories.bzl", "apple_rules_dependencies")
77
load("@build_bazel_rules_swift//swift:repositories.bzl", "swift_rules_dependencies")
88
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
9-
load("@com_google_benchmark//:bazel/benchmark_deps.bzl", "benchmark_deps")
109

1110
def _tf_bind():
1211
"""Bind targets for some external repositories"""
@@ -131,9 +130,6 @@ def workspace():
131130
swift_rules_dependencies()
132131
apple_support_dependencies()
133132

134-
# We only need `benchmark_deps` to be able to have bazel query to work and not complain about missing `@libpfm`.
135-
benchmark_deps()
136-
137133
# TODO(yuriit): Remove this once the rules_ml_toolchain is added to WORKSPACE files of all ML projects.
138134
# Toolchains for ML projects hermetic builds.
139135
# Details: https://github.com/google-ml-infra/rules_ml_toolchain

0 commit comments

Comments
 (0)