-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
make compilation-related CLI option names less confusing #23054
Comments
This one is whether or not the precompiled sysimg gets loaded - it's already been compiled when Julia was built, rather than having to do with compilation that happens at runtime |
I think the fact that I didn't know what it does despite the option name and reading the help output really just proves my point. In that case it should be called |
We might also want to make the use of dashes more consistent. Right now we have |
If we do #15864, then
|
|
|
Does that error if it tries to write one, skip silently, or skip with a message? |
The
It shouldn't be coupled to that implementation though. |
also rearrange help text a bit part of #23054
also rearrange help text a bit part of #23054
Conclusion: for now we should hide (remove from |
These are tricky to use and should be considered unstable. closes #23054
If you don't already know what they mean (and it's easy to forget even if you once did), the names of these options to
julia
are entirely unhelpful and generally actively confusing:--precompiled={yes|no}
– no, this has nothing to do with module precompilation--compilecache={yes|no}
– but this does!--compile={yes|no|all|min}
– I have no idea what this does, despite readingjulia --h
Changing
--precompiled
to(see below)--compile-sysimg
--use-sysimg={yes,no}
and--compilecache
to--compile-modules={yes,no}
would make a lot more sense. I would also assume that these control where thejulia
processes STDOUT goes:That, of course, is not what they do, but ¯\_(ツ)_/¯. See also #15864 – having
--output-x
options control compiler artifacts would make sense for ajulia-compile
program, but not forjulia
itself. Changing these to--compile-output-format={o,ji,bc}
would be better and maybe--compile-incremental={yes,no}
.The text was updated successfully, but these errors were encountered: