[SERVER-55839] Evaluate feasibility and impact of using "chained" PCH on Windows Created: 06/Apr/21  Updated: 13/May/21  Resolved: 13/May/21

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Daniel Moody
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Dev Platform 2021-05-17
Participants:

 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.


Generated at Thu Feb 08 05:37:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.