chore: remove experimental_strict_action_env option from bazelrc #13200
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Lars Kreutzer lars.kreutzer@tngtech.com
Summary
--experimental_strict_action_env
is removed from the.bazelrc
Test Plan
build_c
,test_c
andbuild_oai_clang
.magma/lte/gateway
, however there is currently a bug (see issue Bazel commands only work in the magma directory #13102) which requires a slight modification of the.bazelrc
for testing.import bazel/bazelrcs/cache.bazelrc
needs to be replaced byimport /home/vagrant/magma/bazel/bazelrcs/cache.bazelrc
for testing inside the magma-vm.Additional Information
The initial run of the bazel workflow is very slow on this PR because the removal of the flag prevents most cache hits.
Once the cache is filled on master the build time should be unaffected.The option has been renamed to
incompatible_strict_action_env
(see --incompatible_strict_action_env bazelbuild/bazel#6648)The option has the following description in the current docs:
We specify
build:asan --action_env=ASAN_OPTIONS=detect_leaks=1:color=always
in the current.bazelrc
This change is backwards-breaking