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

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

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

      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.

            Assignee:
            daniel.moody@mongodb.com Daniel Moody
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: