[SERVER-40031] Move pre-scons compile tasks into a separate compile_prereqs task Created: 07/Mar/19  Updated: 18/Dec/23  Resolved: 18/Dec/23

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 - DevProd Build
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Assigned Teams:
Build
Participants:
Story Points: 2

 Description   

We currently spend about 2 minutes setting up virtualenv's, building the go tools, installing the python requirements, etc. This time is accounted for as part of the 'compile' task, but it isn't really - it is all prelude to being able to compile.

In the interest of better being able to track and account for time spent in the build, we should move this into a pre-requisite task that runs on-box before 'compile', and ensure that the 'compile' task consists exclusively of the SCons invocation and follow-up work (which should also be trimmed down).



 Comments   
Comment by William Olaleye [ 19/Mar/19 ]
  • David will open a spike to investigate this story in more detail.
Generated at Thu Feb 08 04:53:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.