[RFC] Improve/clarify versioninfo output#61390
Open
christiangnrd wants to merge 7 commits intoJuliaLang:masterfrom
Open
[RFC] Improve/clarify versioninfo output#61390christiangnrd wants to merge 7 commits intoJuliaLang:masterfrom
versioninfo output#61390christiangnrd wants to merge 7 commits intoJuliaLang:masterfrom
Conversation
dce83c8 to
fb3c7a3
Compare
versioninfo outputversioninfo output
1e477c9 to
13c35f2
Compare
Also always print "Build Info"
Must be called at init since it returns "sysimage" when called from InteractiveUtils
13c35f2 to
ececa9a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
**Best reviewed with "Ignore whitespace"
When looking into #61292, I tried to use
versioninfoto get the JIT’s cpu target. I found out that even though it shares parentheses with “ORCJIT”, the displayed cpu is always just the host CPU.Then I fell into the confusing and undocumented output of
versioninforabbit hole trying to improve it and this is the result of that. Once I have a better idea about which changes are/aren't welcome, I’ll edit the docstring to be more explicit about what each item is.May be worth reviewing per-commit as I've tried to separate each change
This PR:
WORD_SIZEbehind the verbose flag.-Cflagverbose=true. This adds a new Sys.BASE_SYSIMG_TARGET constant variable because callingsysimage_targetfrom InteractiveUtils returns “sysimage”. Hidden behindverboseflagCurrent output (master):
This PR: