Skip to content
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

Precompilation workload: restore the original depot and load paths #3668

Merged
merged 2 commits into from
Oct 17, 2023

Conversation

DilumAluthge
Copy link
Member

No description provided.

src/precompile.jl Outdated Show resolved Hide resolved
src/precompile.jl Outdated Show resolved Hide resolved
src/precompile.jl Outdated Show resolved Hide resolved
Co-authored-by: Valentin Churavy <[email protected]>
@vchuravy
Copy link
Member

@fatteneder @DilumAluthge this makes me almost think that we should have the tests https://github.com/JuliaLang/julia/blob/4d2d8490bdee8f457948b949441e95a69a775217/test/testdefs.jl#L25-L29 as part of the precompilation harness and yell at the user if their precompile scripts don't restore them.

@KristofferC
Copy link
Member

Since this is the last thing that the process does I don't see how this does anything. But maybe it is nice aesthetically.

@vchuravy
Copy link
Member

Since this is the last thing that the process does I don't see how this does anything.

Afterwards we do the work of serializing the actual data and JuliaLang/julia#49866 is going to look at the depot path to rewrite the source paths we store in the cache file

Copy link
Member Author

@DilumAluthge DilumAluthge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The various code review suggestions LGTM.

@DilumAluthge DilumAluthge merged commit af5392d into master Oct 17, 2023
12 of 13 checks passed
@DilumAluthge DilumAluthge deleted the dpa/restore-depot-precomp-workload branch October 17, 2023 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants