-
Type:
Task
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Build
-
None
-
Dev Platform 2021-05-17
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
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.