[SERVER-40303] Write a file with the most recent SCons invocation into the build directory Created: 22/Mar/19 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: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Server Development Platform
|
| Sprint: | Dev Tools 2019-04-08 |
| Participants: |
| Description |
|
Sometimes you have a built tree, but you can't remember the exact flags you used to build it. If you re-invoke SCons with different flags, you may end up rebuilding the world. SCons could easily write a file like build/last.invocation which would contain the command line of the most recent invocation. Re-running the contained command should always be a no-op if no source changes have been made. |
| Comments |
| Comment by April Schoffer [ 30/Jul/20 ] |
|
This is handled in Ninja, so the value of adding for SCons doesn't warrant the effort required. |