[SERVER-28149] upgrade scons to 2.5.1 Created: 28/Feb/17  Updated: 06/Dec/17  Resolved: 06/Mar/17

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

Type: Question Priority: Major - P3
Reporter: Gabriel Russell (Inactive) Assignee: Gabriel Russell (Inactive)
Resolution: Done Votes: 0
Labels: bkp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4, v3.2
Sprint: Platforms 2017-03-06, Platforms 2017-03-27
Participants:

 Description   

There is only one actual change, but it can be a real improvement in some situations.

In practice, since we have a slightly customized scons, we can just cherry pick the one actual change from 2.5.1.



 Comments   
Comment by Githook User [ 06/Mar/17 ]

Author:

{u'username': u'gabrielrussell', u'name': u'Gabriel Russell', u'email': u'gabriel.russell@mongodb.com'}

Message: SERVER-28149 cherry-picking the single scons-2.5.1 change
Branch: master
https://github.com/mongodb/mongo/commit/59681ee6603fc43f0f3209ec0f9c6a09476edfcc

Comment by Gabriel Russell (Inactive) [ 28/Feb/17 ]

Without --implicit-cache, a noop build under scons 2.5.0 takes about two minutes:

[gabriel@earthshaker mongo]$ time python buildscripts/scons.py  -j8  --link-model=dynamic --disable-warnings-as-errors  mongod
real    1m58.357s
user    1m57.420s
sys     0m0.506s

Then with scons 2.5.1 a noop build takes under a minute:

[gabriel@earthshaker mongo]$ time python buildscripts/scons.py  -j8  --link-model=dynamic --disable-warnings-as-errors  mongod
real    0m51.935s
user    0m51.009s
sys     0m0.722s

Generated at Thu Feb 08 04:17:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.