[SERVER-13103] Investigate use of SCons MSVC_BATCH batch compilation feature to speed compiles Created: 07/Mar/14  Updated: 06/Dec/22  Resolved: 30/Jul/20

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

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
Resolution: Won't Do Votes: 0
Labels: build-system-cleanup
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Development Platform
Participants:

 Description   

The microsoft compilers support a concept of batch building files that share a build line. SCons knows how to invoke the compiler in this fashion when MSVC_BATCH is set in the environment.

We should see if building this way can speed up our windows builds.



 Comments   
Comment by April Schoffer [ 30/Jul/20 ]

We looked into this and confirmed MSVC_BATCH doesn't accelerate things in a parallel build.

Comment by Andy Schwerin [ 07/Mar/14 ]

mark.benvenuto experimented with this, and had some luck. Talk to him.

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