[SERVER-56747] Investigate relationship between pre-compiled headers and DLL or SharedLibrary builds Created: 07/May/21  Updated: 02/Jun/21  Resolved: 29/May/21

Status: Closed
Project: Core Server
Component/s: None
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-31
Participants:

 Description   

If the PCH research suggests that we will move PCH forward in at least some contexts, we should understand what the implications are w.r.t to shared library builds.

  • Are the gains from PCH still appealing in a dynamic build? It depends on whether PCH affects compilation speed, or linking as well.
  • At least on Windows, pre-compiled headers result in object files that must be linked. We should understand what the implications of that are for potential future DLL based builds. Can different DLLs use the same pre-compiled header, etc. How does linking work in that model?


 Comments   
Comment by Daniel Moody [ 02/Jun/21 ]

yeah tested both, used the visibility test for dlls

Comment by Andrew Morrow (Inactive) [ 02/Jun/21 ]

daniel.moody - Did you test out building DLLs with the PCH? Or just shared libraries on linux?

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