Skip to content

Conversation

@copybara-service
Copy link

Prepare XLA Bazel dependencies for enabling the layering check

This makes a bunch of XLA's third party dependencies compliant with
Bazel's layering check by either:

  1. disabling the layering check for the dependency's targets, or
  2. Fix the build rules so that they comply with the layering check

Both is either achieved by:

  1. patching the packages
  2. changing the BUILD files directly if we maintain Bazel BUILD files separately.

Some of the patches can be upstreamed which I'm going to attempt separately.

This makes a bunch of XLA's third party dependencies compliant with
Bazel's layering check by either:

1. disabling the layering check for the dependency's targets, or
2. Fix the build rules so that they comply with the layering check

Both is either achieved by:

1. patching the packages
2. changing the BUILD files directly if we maintain Bazel BUILD files separately.

Some of the patches can be upstreamed which I'm going to attempt separately.

PiperOrigin-RevId: 837022746
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.

1 participant