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

RFC: only auto precompile the added package (+ deps) after an add operation #3848

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Operations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,7 @@ function add(ctx::Context, pkgs::Vector{PackageSpec}, new_git=Set{UUID}();
write_env(ctx.env) # write env before building
show_update(ctx.env, ctx.registries; io=ctx.io)
build_versions(ctx, union(new_apply, new_git))
Pkg._auto_precompile(ctx)
Pkg._auto_precompile(ctx, pkgs)
else
record_project_hash(ctx.env)
write_env(ctx.env)
Expand Down