[SERVER-18320] Changing scons target causes relink of all executables Created: 05/May/15  Updated: 19/Sep/15  Resolved: 04/Sep/15

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

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

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Build 8 08/31/15, Build 9 (09/18/15)
Participants:

 Description   

The refactored version.cpp.in incorporates the command line into the version information. This, however, means that if you change the list of targets to build, that version.cpp is regenerated, and then everything needs to relink.

In other words:

scons ... all
scons ... smokeCppUnittests

The second invocation needs to re-link every binary.



 Comments   
Comment by Githook User [ 15/May/15 ]

Author:

{u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}

Message: SERVER-18320 Remove command line from buildinfo
Branch: master
https://github.com/mongodb/mongo/commit/d608b0fad0fb8cea00a42dea75d93fd4214fb259

Comment by Githook User [ 13/May/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: Revert "SERVER-18320 Remove command line from buildinfo"

This reverts commit 4d299b49129859fb15a42dfe14e3061fee67ad89.
Branch: master
https://github.com/mongodb/mongo/commit/cd97edbe4be0e6ddc9139a21e13594fd19a26a5e

Comment by Githook User [ 13/May/15 ]

Author:

{u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}

Message: SERVER-18320 Remove command line from buildinfo
Branch: master
https://github.com/mongodb/mongo/commit/4d299b49129859fb15a42dfe14e3061fee67ad89

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