[SERVER-21802] split scons command line parsing into two phases Created: 08/Dec/15  Updated: 07/Aug/23  Resolved: 07/Aug/23

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

Type: Improvement Priority: Major - P3
Reporter: Eric Milkie Assignee: [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
Resolution: Won't Do Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-22809 scons should warn earlier about unkno... Closed
Assigned Teams:
Server Development Platform
Participants:

 Description   

Currently, all command line option validation occurs after all configure checks, since the configure phase affects what command line options are allowed.
However, this means if you misspell a command line option, you may not get an obvious error; instead you may get a confusing configure failure.

Instead, we should parse all command line options first, to check for obvious problems (invalid command line options under any configuration). Then do configure checks, and finally validate the command line options based on the configuration.


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