-
-
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
small changes to make Base more statically compileable #53778
Merged
Merged
Conversation
This file contains 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
vtjnash
approved these changes
Mar 19, 2024
Do we know why the compileall test failed here? |
It's failing everywhere, I'm trying to dig into it, probably a wrong GC_POP somewhere c.f #53770 |
Keno
approved these changes
Mar 20, 2024
This appears to have introduced a Windows failure that failed on this PR
|
IanButterworth
added a commit
that referenced
this pull request
Mar 21, 2024
This reverts commit e0bb95a.
Keno
added a commit
that referenced
this pull request
Mar 22, 2024
I considered changing the error message back, but I actually think non-escaped filenames make more sense here, so I just adjusted the test. We can do either though.
Keno
added a commit
that referenced
this pull request
Mar 22, 2024
I considered changing the error message back, but I actually think non-escaped filenames make more sense here, so I just adjusted the test. We can do either though.
IanButterworth
added a commit
that referenced
this pull request
Mar 22, 2024
This reverts commit e0bb95a.
IanButterworth
added a commit
that referenced
this pull request
Mar 22, 2024
Reverts #53778 which appears to have introduced a windows failure See #53778 (comment)
This has been reverted #53808 |
JeffBezanson
added a commit
that referenced
this pull request
Mar 22, 2024
This makes it easier to fully-statically-type Base and init methods. The changes are from gb/small-image2.
JeffBezanson
added a commit
that referenced
this pull request
Mar 22, 2024
This makes it easier to fully-statically-type Base and init methods. The changes are from gb/small-image2.
Keno
pushed a commit
that referenced
this pull request
Mar 23, 2024
…" (#53820) This makes it easier to fully-statically-type Base and init methods. The changes are from gb/small-image2.
KristofferC
pushed a commit
to JuliaLang/LinearAlgebra.jl
that referenced
this pull request
Nov 14, 2024
Reverts JuliaLang/julia#53778 which appears to have introduced a windows failure See JuliaLang/julia#53778 (comment)
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.
We (@gbaraldi @topolarity @vtjnash and I) have been seeing how far we can push static typing from applications (or library entry points) through Base, in order to do whole-program compilation where you don't need the JIT or IR or any unused code (similar to StaticCompiler.jl but with the full runtime available). Fortunately many of the barriers to this are just small changes to Base where we are doing silly things. This PR collects several of them.
The only thing here that's even slightly interesting is the changed definition of
is_root_module
. The problem here was that some fairly low-level printing and reflection functions call it, but it's not defined until loading.jl. When we try to infer it before then, the global is not defined so we infer it as Any. The new definition is much simpler. Maybe I'm missing something, but AFAICT it always gives the same answer.These changes are from gb/small-image2.