Migrate to Bazel platforms

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • DevProd Build
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The current setup uses the legacy crosstool approach. This makes it harder to add/change toolchains and potentially creates unnecessary cache misses because of differing platform selections. It also complicates migration to Bazel 7.x which flips `–incompatible_cc_toolchain_resolution` and makes it harder to use Bzlmod as most bazel modules rely on the new toolchain resolution mechanism.

      Flip `--incompatible_cc_toolchain_resolution` and remove compiler specificity from platform information to cleanly separate buildtime requirements (via toolchain configs) from runtime requirements (via platforms).

            Assignee:
            Aaron Mondal (Inactive)
            Reporter:
            Aaron Mondal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: