Description of the bug:
When a configuration transition depends on a user-defined flag, the transition doesn't update when the flag's default value updates.
This produces incorrect output for incremental builds (build a target, change the flag default, build the target again).
Workarounds:
- Force re-analysis by arbitrarily changing some other flag at the command line
- bazel shutdown to clear the transition cache
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
https://gist.github.com/gregestren/3c6d67a3f23ea2a0b0baac34d9917dfb
Which operating system are you running Bazel on?
Linux
What is the output of bazel info release?
release 5.2.0
If bazel info release returns development version or (@non-git), tell us how you built Bazel.
No response
What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?
Have you found anything relevant by searching the web?
Forked from #15653 (comment)
Any other information, logs, or outputs that you want to share?
No response
Description of the bug:
When a configuration transition depends on a user-defined flag, the transition doesn't update when the flag's default value updates.
This produces incorrect output for incremental builds (build a target, change the flag default, build the target again).
Workarounds:
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
https://gist.github.com/gregestren/3c6d67a3f23ea2a0b0baac34d9917dfb
Which operating system are you running Bazel on?
Linux
What is the output of
bazel info release?release 5.2.0
If
bazel info releasereturnsdevelopment versionor(@non-git), tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD?Have you found anything relevant by searching the web?
Forked from #15653 (comment)
Any other information, logs, or outputs that you want to share?
No response