Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add --experimental_exec_configuration_distinguisher
This work is cleaved off from the --experimental_output_directory_naming_scheme work (see #14023) and is meant as a less-exotic (and more quickly deployable) way to fix-up potential action conflicts due to insufficient configuration distinguishing in or around the exec transition. The following modes are added: legacy: Keep current behavior of only setting platform_suffix to exec-%X where %X is a hash of the current execution platform. fullHash: Set platform_suffix to exec-%X where %X is a hash of the entire post-configuration transition (although, with platform_suffix emptied, to prevent self-referential hashing headaches). diffToAffected: Set platform_suffix to exec (only for ease in reading output paths) and update `affected by Starlark transition` with all changed options. This effectively treats the exec transition like a Starlark transition. off: Do not touch platform_suffix or do any other work inside the execution transition to ensure distinguished configurations. This is expected to be used with --experimental_output_directory_naming_scheme as part of removing these local configuration distinguishers in favor of a global system. PiperOrigin-RevId: 433839227
- Loading branch information
twigg
authored and
Copybara-Service
committed
Mar 10, 2022
1 parent
3e6327c
commit 51c90c7
Showing
7 changed files
with
242 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters