Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-93654

Migrate to Bazel platforms

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

      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@mongodb.com Aaron Mondal
            Reporter:
            aaron.mondal@mongodb.com Aaron Mondal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: