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

do libdep queries in build for faster scons/ninja build time

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Build
    • Fully Compatible
    • 200

      The bazel integration performs cquery's to understand the deeply nested library dependencies in order to construct link command lines for binaries it links on its side of the build.

      Each query requieres a separate bazel invocation and ends up taking a non trivial amount of time over the life of the build. We can move these queries inside the build by making a custom rule that will output the same library information in the single bazel build invocation made at the start of a scons or ninja build.

            Assignee:
            daniel.moody@mongodb.com Daniel Moody
            Reporter:
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: