[SERVER-46128] Changing PREFIX causes relinking due to dependency on resmoke.ini Created: 13/Feb/20 Updated: 27/Oct/23 Resolved: 15/Feb/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive) |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Server Development Platform
|
| Operating System: | ALL |
| Sprint: | Dev Platform 2020-03-09 |
| Participants: |
| Description |
|
When we added resmoke.ini, we made the result of all .Program builder invocations depend on it, so that we could be sure it always existed and reflected the PREFIX of the latest build. This has the inadvertent consequence that if you change PREFIX, all of your binaries become out of date and are relinked, even though they really could just be copied to the new PREFIX as is. This has real consequences in the CI loop, where we do a second build of the tree with a different PREFIX (due to use of --legacy-tarball. As a result, the package step is slow because all the distribution binaries get relinked. We should find a different mechanism for ensuring that resmoke.ini is created that doesn't have this unfortunate effect. |
| Comments |
| Comment by Andrew Morrow (Inactive) [ 15/Feb/20 ] |
|
This was obsoleted by the fix in |