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

Reproducible triggering of double precompilation #50606

Closed
baggepinnen opened this issue Jul 20, 2023 · 2 comments
Closed

Reproducible triggering of double precompilation #50606

baggepinnen opened this issue Jul 20, 2023 · 2 comments

Comments

@baggepinnen
Copy link
Contributor

baggepinnen commented Jul 20, 2023

From discussion on slack @IanButterworth
This is the terminal output after I trigger the sequence of actions that lead to double precompilation of the package PRONTO.jl. The steps are

  1. Delete the folder .julia/compiled/v1.9/PRONTO and then run the commands below in a new julia session
pkg> activate --temp
pkg> add git@github.com:narijauskas/PRONTO.jl.git
julia> using PRONTO

Output:
double_precompilation.txt

The same procedure but starting julia with --startup-file=no
double_precompilation_no_startupfile.txt

@vtjnash
Copy link
Member

vtjnash commented Jul 20, 2023

It looks like you have a user startup file which loads StaticArraysCore which conflicts with your later attempt to activate a temporary environment for PRONTO. This is expected behavior of Julia in this case, as it is just following the commands from the user.

@vtjnash vtjnash closed this as completed Jul 20, 2023
@IanButterworth
Copy link
Member

Slack discussion came to think that #44329 (comment) could help explain what's going on in this case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants