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

Evaluate feasibility and impact of using "chained" PCH on Windows

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Sprint:
      Dev Platform 2021-05-17

      Description

      The MSVC PCH system produces object files that must be linked. This produces some challenges if we wish to have more than one PCH in play, as we might if we wanted to specialize PCH files for certain subtrees of the server repo. Investigate whether it is possible to make this setup work in a static build, and whether it represents any obstacles for potential future shared library builds on Windows.

      If we are able to make it work, refine the work done in SERVER-55837 and measure the impact of chained approximate top-N PCH files across src, src/mongo, and one large subdirectory of src/mongo, like src/mongo/db.

        Attachments

          Activity

            People

            Assignee:
            daniel.moody Daniel Moody
            Reporter:
            acm Andrew Morrow
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: