-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SCons: Warn user about unrecognized options #99055
base: master
Are you sure you want to change the base?
Conversation
And yeah |
3895b8d
to
cab8ed2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While I'm pretty sure this can be further refined, I'm not about to look a gift horse in the mouth. This'll make for a MUCH more convenient jumping-off point in any case.
cab8ed2
to
d16c03d
Compare
Rebased and solved merge blocking conflict. No functional changes |
d16c03d
to
bf9428e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be good to merge after applying suggestions.
9d59228
to
45fa5fb
Compare
Calinou suggestions + rebase. Nothing else |
45fa5fb
to
34cdc8a
Compare
Why I am already not sure about EDIT: Looks like I fully messed up with |
Co-authored-by: Thaddeus Crews <[email protected]> Co-authored-by: Rémi Verschelde <[email protected]> Signed-off-by: Yevhen Babiichuk (DustDFG) <[email protected]> Co-authored-by: Hugo Locurcio <[email protected]>
34cdc8a
to
dc868a5
Compare
@akien-mga I know you are busy so sorry for ping but just want to make sure it wasn't lost in void |
I am not going to do anything to update this PR. But it is not bad in IMO so I am not closing it... Over time some merge conflicts can occur... There are people with "write access" so if you need it you can correct it. I am abandoning this PR... If you want close it I generally want this to be merged but if you will do it, do it on your own risk. I won't do anything if there is any new bugs will be introduced or anything else... |
Github send me notification so I am here 😅. Looks like I can abandon anything except this PR 😅. @Repiteo I saw your PR and it is great but it would be a mistake. Why? Because as I mentioned somewhere in this PR Lines 595 to 609 in d09d82d
Write in |
builtin_*
options #98298I couldn't wait anymore because bugs are painful...
I glued parts of two PR's and added some logic to recognize valid options but defined for other platforms:
profile
option forcustom.py
-style overrides #91794Do you need any explanations? It is just bunch of spaghetti which works and will work pretty good because here we almost fully control what happens and can workaround SCons bugs... Here also some minor bug fixes: use already present
platform_name
variable, delete unnecessary checkisdir
, add some undeclared optionsRunned command:
scons hh="hate_scons_twice" custom_hh="hate_scons_twice" p="web"
Result: