You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Provide a way to gradually migrate from old flags to platforms #6426
The new Bazel platforms are a key element for many new features. However not all projects and rule sets are going to start using them at the same time and so a mechanism is needed to allow gradual migrate from the current approach (flags like --cpu and --crosstool_top) to the new one. This issue tracks the design and implementation of that mechanism.
Activity
Submit 'Old Flags to Platforms Migration' for review
Submit 'Old Flags to Platforms Migration' for review (#46)
aragos commentedon Mar 11, 2019
I never mentioned the design here but it's been reviewed and is now in implementation: https://docs.google.com/document/d/1Vg_tPgiZbSrvXcJ403vZVAGlsWhH9BUDrAxMOYnO0Ls
Transform options by parsing result.
Match options against parsing result.
Transformation for build configurations based on a platform/flags map…
Add platform mapping function.
Remove explicitly set target platform value and replace it by fallback.
Reset platform on cpu transitions.
Use platform mappings.
Release 0.26.0 (2019-05-28)
Release 0.26.0 (2019-05-28)
Release 0.26.0 (2019-05-28)
Release 0.26.0 (2019-05-28)
katre commentedon May 11, 2020
This is now available: see https://docs.bazel.build/versions/master/platforms-intro.html#platform-mappings for details.
Reset platform on cpu transitions.
Remove explicitly set target platform value and replace it by fallback.
Add platform mapping function.
Transformation for build configurations based on a platform/flags ma…
Match options against parsing result.
Transform options by parsing result.