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

Revert "Revert https://github.com/bazelbuild/bazel/commit/7f6e6496726aad4038368979c772e944bc323b7f" #25154

Closed
wants to merge 1 commit into from

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Jan 31, 2025

This reverts commit d165140.

Fixes:

  • Allow toolchain variables to be None and skip them in that case, matching the previous behavior.
  • Use the effective output paths mode for fingerprinting to preserve action cache entries for non-path mapped actions even when path mapping is generally enabled.

This reverts commit d165140.

Fixes:
* Allow toolchain variables to be `None` and skip them in that case, matching the previous behavior.
* Use the effective output paths mode for fingerprinting to preserve action cache entries for non-path mapped actions even when path mapping is generally enabled.
@fmeum fmeum requested review from a team, lberki, comius, pzembrod and trybka as code owners January 31, 2025 12:09
@fmeum fmeum requested review from gregestren and removed request for a team January 31, 2025 12:09
@fmeum fmeum changed the title Revert "Revert https://github.com/bazelbuild/bazel/commit/7f6e6496726… Revert "Revert https://github.com/bazelbuild/bazel/commit/7f6e6496726aad4038368979c772e944bc323b7f" Jan 31, 2025
@github-actions github-actions bot added team-Performance Issues for Performance teams team-Configurability platforms, toolchains, cquery, select(), config transitions team-Rules-Java Issues for Java rules team-Rules-CPP Issues for C++ rules awaiting-review PR is awaiting review from an assigned reviewer labels Jan 31, 2025
@fmeum fmeum requested review from hvadehra and removed request for lberki, pzembrod, trybka and gregestren January 31, 2025 12:10
@fmeum
Copy link
Collaborator Author

fmeum commented Jan 31, 2025

@bazel-io fork 8.1.0

@comius
Copy link
Contributor

comius commented Jan 31, 2025

I'm doing a manual import of this PR.

@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Jan 31, 2025
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Jan 31, 2025
…ppArchive`

This mostly requires wiring up the existing machinery for structured variables and (most) link build variables.

Utility methods on `PathMappers` are moved to `PathMapper` so that they can be dependend on by `AbstractCommandLine` without creating a cycle.

NEW:
- Allow toolchain variables to be None and skip them in that case, matching the previous behavior.
- Use the effective output paths mode for fingerprinting to preserve action cache entries for non-path mapped actions even when path mapping is generally enabled.

Closes bazelbuild#25154.

PiperOrigin-RevId: 721850758
Change-Id: I34a66006ba4c8fd73d62ce8cea249577f62a1b02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Configurability platforms, toolchains, cquery, select(), config transitions team-Performance Issues for Performance teams team-Rules-CPP Issues for C++ rules team-Rules-Java Issues for Java rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants