Skip to content

Commit b41576b

Browse files
larsrc-googlecopybara-github
authored andcommitted
Deprecate --experimental_spawn_scheduler flag since its use is usually a poor use of resources.
RELNOTES: None. PiperOrigin-RevId: 383238352
1 parent 0f812eb commit b41576b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/google/devtools/build/lib/dynamic/DynamicExecutionOptions.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,14 @@ public class DynamicExecutionOptions extends OptionsBase {
3939
+ "worker mode. To enable dynamic execution for an individual action mnemonic, use "
4040
+ "the `--internal_spawn_scheduler` and `--strategy=<mnemonic>=dynamic` flags "
4141
+ "instead.",
42+
deprecationWarning =
43+
"Using dynamic execution for all mnemonics is a poor use of resources. Use "
44+
+ "--internal_spawn_scheduler and set dynamic strategy for select mnemonics instead.",
4245
expansion = {
4346
"--internal_spawn_scheduler",
4447
"--spawn_strategy=dynamic",
4548
})
49+
@Deprecated
4650
public Void experimentalSpawnScheduler;
4751

4852
@Option(

0 commit comments

Comments
 (0)