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

Allow search paths in mongo_toolchain_flags.bzl to be dynamically configured

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible
    • Programmability 2024-12-09, Programmability 2024-12-23

      bazel/toolchains/mongo_toolchain_flags.bzl currently defines a number of search paths for the compilers in the toolchain to use for header includes and libraries among other compilation inputs. These paths are hardcoded for the Clang and GCC version numbers used by the toolchain. Build support for these paths to be inferred dynamically from the toolchain itself, or at least to be configurable so that their values can reflect the toolchain chosen (i.e. by the variables file passed to SCons or as configured in the bazel build command line invocation).

            Assignee:
            ryan.berryhill@mongodb.com Ryan Berryhill
            Reporter:
            james.bronsted@mongodb.com James Bronsted
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: