remote_local_fallback_strategy 的允许值是多少
What are the allowed values for remote_local_fallback_strategy
在 Bazel 的命令行参考中 - https://docs.bazel.build/versions/master/command-line-reference.html- 有一个名为 "remote_local_fallback_strategy" 的选项。它的描述是
The strategy to use when remote execution has to fallback to local execution.
显然默认值为 "local",这听起来好像意味着失败的目标将 运行 在没有沙盒的本地计算机上。此选项的其他允许值是什么?
从技术上讲,--remote_local_fallback_strategy
可以采用与 --spawn_strategy
. There isn't a definitive list anywhere, since the set possible values depends on the configuration of Bazel. Probably the only interesting non-default value of --remote_local_fallback_strategy
is sandboxed
, which will cause actions that can't be executed remotely to be run in a local sandbox 相同的值。
在 Bazel 的命令行参考中 - https://docs.bazel.build/versions/master/command-line-reference.html- 有一个名为 "remote_local_fallback_strategy" 的选项。它的描述是
The strategy to use when remote execution has to fallback to local execution.
显然默认值为 "local",这听起来好像意味着失败的目标将 运行 在没有沙盒的本地计算机上。此选项的其他允许值是什么?
从技术上讲,--remote_local_fallback_strategy
可以采用与 --spawn_strategy
. There isn't a definitive list anywhere, since the set possible values depends on the configuration of Bazel. Probably the only interesting non-default value of --remote_local_fallback_strategy
is sandboxed
, which will cause actions that can't be executed remotely to be run in a local sandbox 相同的值。