build: Add incompatible_list_based_execution_strategy_selection flags back in (#31471)
PR Close #31471
This commit is contained in:
parent
14ad7562c6
commit
19a28e599b
25
.bazelrc
25
.bazelrc
|
@ -137,6 +137,31 @@ build:remote --bes_results_url="https://source.cloud.google.com/results/invocati
|
||||||
# This allows us to avoid installing a second copy of node_modules
|
# This allows us to avoid installing a second copy of node_modules
|
||||||
common --experimental_allow_incremental_repository_updates
|
common --experimental_allow_incremental_repository_updates
|
||||||
|
|
||||||
|
# This option is changed to true in Bazel 0.27 and exposes a possible
|
||||||
|
# regression in Bazel 0.27.0.
|
||||||
|
# Error observed is in npm_package target `//packages/common/locales:package`:
|
||||||
|
# ```
|
||||||
|
# ERROR: /home/circleci/ng/packages/common/locales/BUILD.bazel:13:1: Assembling
|
||||||
|
# npm package packages/common/locales/package failed: No usable spawn strategy found
|
||||||
|
# for spawn with mnemonic SkylarkAction. Your --spawn_strategyor --strategy flags
|
||||||
|
# are probably too strict. Visit https://github.com/bazelbuild/bazel/issues/7480 for
|
||||||
|
# migration advises
|
||||||
|
# ```
|
||||||
|
# Suspect is https://github.com/bazelbuild/rules_nodejs/blob/master/internal/npm_package/npm_package.bzl#L75-L82:
|
||||||
|
# ```
|
||||||
|
# execution_requirements = {
|
||||||
|
# # Never schedule this action remotely because it's not computationally expensive.
|
||||||
|
# # It just copies files into a directory; it's not worth copying inputs and outputs to a remote worker.
|
||||||
|
# # Also don't run it in a sandbox, because it resolves an absolute path to the bazel-out directory
|
||||||
|
# # allowing the .pack and .publish runnables to work with no symlink_prefix
|
||||||
|
# # See https://github.com/bazelbuild/rules_nodejs/issues/187
|
||||||
|
# "local": "1",
|
||||||
|
# },
|
||||||
|
# ```
|
||||||
|
build --incompatible_list_based_execution_strategy_selection=false
|
||||||
|
test --incompatible_list_based_execution_strategy_selection=false
|
||||||
|
run --incompatible_list_based_execution_strategy_selection=false
|
||||||
|
|
||||||
####################################################
|
####################################################
|
||||||
# User bazel configuration
|
# User bazel configuration
|
||||||
# NOTE: This needs to be the *last* entry in the config.
|
# NOTE: This needs to be the *last* entry in the config.
|
||||||
|
|
Loading…
Reference in New Issue