Skip to content

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

Closed
fmeum wants to merge 1 commit intobazelbuild:masterfrom
fmeum:reland-path-mapping

Conversation

@fmeum
Copy link
Copy Markdown
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, comius, lberki, 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 gregestren, lberki, pzembrod and trybka January 31, 2025 12:10
@fmeum
Copy link
Copy Markdown
Collaborator Author

fmeum commented Jan 31, 2025

@bazel-io fork 8.1.0

@comius
Copy link
Copy Markdown
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
github-merge-queue bot pushed a commit that referenced this pull request Feb 3, 2025
…rchive` (#25162)

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 #25154.

PiperOrigin-RevId: 721850758
Change-Id: I34a66006ba4c8fd73d62ce8cea249577f62a1b02

Commit
08f0709

---------

Co-authored-by: Fabian Meumertzheim <[email protected]>
Co-authored-by: iancha1992 <[email protected]>
@fmeum fmeum deleted the reland-path-mapping branch February 10, 2025 22:34
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