Skip to content

Commit

Permalink
Remove TRIGGERED_BY_ALL_INCOMPATIBLE_CHANGES tag from options. It us …
Browse files Browse the repository at this point in the history
…unused.

Followup CLs:
- remove use of TRIGGERED_BY_ALL_INCOMPATIBLE_CHANGES in non-Bazel test data
- remove TRIGGERED_BY_ALL_INCOMPATIBLE_CHANGES from the remainder of Bazel
- remove --all_incompatible_changes from any CI specifications
- delete the option

See: #13892

RELNOTES: The --all_incompatible_changes flag is now a no-op
PiperOrigin-RevId: 393851730
  • Loading branch information
aiuto authored and copybara-github committed Aug 30, 2021
1 parent 19ee1aa commit 3a8d07d
Show file tree
Hide file tree
Showing 19 changed files with 105 additions and 409 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,7 @@ public class PlatformOptions extends FragmentOptions {
defaultValue = "true",
documentationCategory = OptionDocumentationCategory.UNDOCUMENTED,
effectTags = {OptionEffectTag.LOADING_AND_ANALYSIS},
metadataTags = {
OptionMetadataTag.INCOMPATIBLE_CHANGE,
OptionMetadataTag.TRIGGERED_BY_ALL_INCOMPATIBLE_CHANGES
},
metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE},
help =
"If true, the host platform will be inherited from @local_config_platform//:host, "
+ "instead of being based on the --cpu (and --host_cpu) flags.")
Expand All @@ -179,10 +176,7 @@ public class PlatformOptions extends FragmentOptions {
defaultValue = "true",
documentationCategory = OptionDocumentationCategory.UNDOCUMENTED,
effectTags = OptionEffectTag.UNKNOWN,
metadataTags = {
OptionMetadataTag.INCOMPATIBLE_CHANGE,
OptionMetadataTag.TRIGGERED_BY_ALL_INCOMPATIBLE_CHANGES
},
metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE},
help = "No-op. Kept here for backwards compatibility.")
public boolean useToolchainResolutionForJavaRules;

Expand Down Expand Up @@ -225,10 +219,7 @@ public class PlatformOptions extends FragmentOptions {
defaultValue = "false",
documentationCategory = OptionDocumentationCategory.UNDOCUMENTED,
effectTags = OptionEffectTag.LOADING_AND_ANALYSIS,
metadataTags = {
OptionMetadataTag.INCOMPATIBLE_CHANGE,
OptionMetadataTag.TRIGGERED_BY_ALL_INCOMPATIBLE_CHANGES
},
metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE},
help =
"If set to true, all rules will use the toolchain transition for toolchain dependencies.")
public boolean overrideToolchainTransition;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,7 @@ public class CoreOptions extends FragmentOptions implements Cloneable {
defaultValue = "true",
documentationCategory = OptionDocumentationCategory.OUTPUT_PARAMETERS,
effectTags = {OptionEffectTag.AFFECTS_OUTPUTS},
metadataTags = {
OptionMetadataTag.INCOMPATIBLE_CHANGE,
OptionMetadataTag.TRIGGERED_BY_ALL_INCOMPATIBLE_CHANGES
},
metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE},
help = "If true, the genfiles directory is folded into the bin directory.")
public boolean mergeGenfilesDirectory;

Expand All @@ -76,10 +73,7 @@ public class CoreOptions extends FragmentOptions implements Cloneable {
defaultValue = "false",
documentationCategory = OptionDocumentationCategory.OUTPUT_PARAMETERS,
effectTags = {OptionEffectTag.AFFECTS_OUTPUTS},
metadataTags = {
OptionMetadataTag.INCOMPATIBLE_CHANGE,
OptionMetadataTag.TRIGGERED_BY_ALL_INCOMPATIBLE_CHANGES
},
metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE},
help = "If true, constraint settings from @bazel_tools are removed.")
public boolean usePlatformsRepoForConstraints;

Expand Down Expand Up @@ -703,10 +697,7 @@ public OutputPathsConverter() {
OptionEffectTag.AFFECTS_OUTPUTS,
OptionEffectTag.LOADING_AND_ANALYSIS
},
metadataTags = {
OptionMetadataTag.INCOMPATIBLE_CHANGE,
OptionMetadataTag.TRIGGERED_BY_ALL_INCOMPATIBLE_CHANGES
},
metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE},
help = "Use graphless query and disable output ordering for genquery.")
public Void incompatibleUseGraphlessQuery;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,7 @@ public static class TestOptions extends FragmentOptions {
defaultValue = "false",
documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
effectTags = {OptionEffectTag.UNKNOWN},
metadataTags = {
OptionMetadataTag.INCOMPATIBLE_CHANGE,
OptionMetadataTag.TRIGGERED_BY_ALL_INCOMPATIBLE_CHANGES
},
metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE},
help =
"If true, exclusive tests will run with sandboxed strategy. Add 'local' tag to force "
+ "an exclusive test run locally")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,7 @@ public static class StrictActionEnvOptions extends FragmentOptions {
defaultValue = "false",
documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
effectTags = {OptionEffectTag.LOADING_AND_ANALYSIS},
metadataTags = {
OptionMetadataTag.INCOMPATIBLE_CHANGE,
OptionMetadataTag.TRIGGERED_BY_ALL_INCOMPATIBLE_CHANGES
},
metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE},
help =
"If true, Bazel uses an environment with a static value for PATH and does not "
+ "inherit LD_LIBRARY_PATH or TMPDIR. Use --action_env=ENV_VARIABLE if you want to "
Expand Down
Loading

0 comments on commit 3a8d07d

Please sign in to comment.