-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
Labels
P1I'll work on this now. (Assignee required)I'll work on this now. (Assignee required)incompatible-changeIncompatible/breaking changeIncompatible/breaking changeteam-Configurabilityplatforms, toolchains, cquery, select(), config transitionsplatforms, toolchains, cquery, select(), config transitions
Description
Motivation
This is part of moving away from legacy --cpu flag towards platforms.
Description
This flag will set the TARGET_CPU make variable to the name of the CPU constraint value in the target platform specified by --platforms.
If --experimental_override_platform_cpu_name (old name: --experimental_override_name_platform_in_output_dir) is specified for a given platform, the value of TARGET_CPU is set to the value specified in the mapping instead.
Incompatible Flag
incompatible_target_cpu_from_platform
Migration Guide
The code checking TARGET_CPU value can be updated to support the new value or --experimental_override_platform_cpu_name can be used to map the platform to a specific TARGET_CPU that matches the old one.
In which Bazel LTS version will this incompatible change be enabled?
Bazel 9
Additional Context
No response
TODO List
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1I'll work on this now. (Assignee required)I'll work on this now. (Assignee required)incompatible-changeIncompatible/breaking changeIncompatible/breaking changeteam-Configurabilityplatforms, toolchains, cquery, select(), config transitionsplatforms, toolchains, cquery, select(), config transitions