aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java b/src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java
index 175b7b834d..8b6975257d 100644
--- a/src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java
+++ b/src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java
@@ -218,6 +218,17 @@ public final class RemoteOptions extends OptionsBase {
)
public double experimentalRemoteRetryJitter;
+ @Option(
+ name = "experimental_remote_spawn_cache",
+ defaultValue = "false",
+ category = "remote",
+ documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
+ effectTags = {OptionEffectTag.UNKNOWN},
+ help = "Whether to use the experimental spawn cache infrastructure for remote caching. "
+ + "Enabling this flag makes Bazel ignore any setting for remote_executor."
+ )
+ public boolean experimentalRemoteSpawnCache;
+
public Platform parseRemotePlatformOverride() {
if (experimentalRemotePlatformOverride != null) {
Platform.Builder platformBuilder = Platform.newBuilder();