forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Self transition constraint_setting and constraint_value to the NoConf…
…ig state. These rules can only define constants, and all their attributes are not configurable. This reduces the number of configurations constraint values appear in, but does yet reduce that to a single instance per value. For this cquery ``` blaze cquery --compilation_mode=opt --fat_apk_cpu=x86 \ --android_platforms=//buildenv/platforms/android:x86 \ --incompatible_enable_android_toolchain_resolution=1 \ --//third_party/java/android:system_api=true \ 'allpaths(//java/com/android/dialer:dialer, //third_party/bazel_platforms/...)' \ | grep bazel_platforms/os | sort -u ``` We see 71 different combinations of constraint values and cquery configs before this change and 37 after. That is better, but inexplicably much higher than the 8 or so I would expect. RELNOTES: None PiperOrigin-RevId: 501909093 Change-Id: Ie66ac2b144837050fdb3e1fd18f5dc1ba155e480
- Loading branch information
1 parent
d429313
commit 0fe4c36
Showing
5 changed files
with
49 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters