[SERVER-47721] Output of ninja generator should be deterministic Created: 23/Apr/20  Updated: 29/Oct/23  Resolved: 27/Apr/20

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 4.4.0-rc4, 4.7.0

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

Issue Links:
Backports
Depends
is depended on by SERVER-47776 Promote ninja-next to stable Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4
Sprint: Dev Platform 2020-05-04
Participants:

 Description   

Running the ninja generator twice results in different build.ninja files. This makes it much more difficult to understand the effects of changes, since you can't compare against a stable baseline. The result of running the ninja generator should be deterministic.



 Comments   
Comment by Githook User [ 29/Apr/20 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: SERVER-47721 Make generated ninja file deterministic

(cherry picked from commit de6e9c18e3a4ee418cff8338400668f9b6b7cf3e)
Branch: v4.4
https://github.com/mongodb/mongo/commit/009f88fe141f91ba693a6a32287809baf940b06e

Comment by Githook User [ 27/Apr/20 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: SERVER-47721 Make generated ninja file deterministic
Branch: master
https://github.com/mongodb/mongo/commit/de6e9c18e3a4ee418cff8338400668f9b6b7cf3e

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