You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No documentation on --install-sandbox which is used by Install() builder #3007
--install-sandbox is not added in the "normal" place in the code, but by the install tool, perhaps this is why the help doesn't make it into the display?
github auto-closed this because it was mentioned in the doc PR, but the Help part of the report is not addressed. After digging further:
Tool/install.py adds the option using AddOption, which is unlike any other option in scons, which are all set up in Script/SConsOptions.py
the help message from the option is not pushed into the full help string
the AddOption only runs if the tool is set up which only happens if it is used - sconscripts contain Install (or relatives) calls, and they are actually going to be used. If you run scons -H, it never gets to the tool's generate function, so the option is never added, so it can't possibly appear in the help.
Repairing that would take some rethinking. Moving the option definition to SConsOptions.py would appear to be the simplest.
Activity
mwichmann commentedon Sep 21, 2019
--install-sandboxis not added in the "normal" place in the code, but by the install tool, perhaps this is why the help doesn't make it into the display?Docs for InstallVersionedLib and --install-sandbox [ci skip]
mwichmann commentedon Sep 27, 2019
github auto-closed this because it was mentioned in the doc PR, but the Help part of the report is not addressed. After digging further:
Tool/install.pyadds the option usingAddOption, which is unlike any other option in scons, which are all set up inScript/SConsOptions.pyAddOptiononly runs if the tool is set up which only happens if it is used - sconscripts containInstall(or relatives) calls, and they are actually going to be used. If you runscons -H, it never gets to the tool'sgeneratefunction, so the option is never added, so it can't possibly appear in the help.Repairing that would take some rethinking. Moving the option definition to
SConsOptions.pywould appear to be the simplest.