Skip to content

Commit

Permalink
Allow extensions to trigger from packages in [deps]
Browse files Browse the repository at this point in the history
This is a partial backport of JuliaLang/julia#54009, with just the
pre-compilation piece that lives in Pkg on 1.10
  • Loading branch information
topolarity committed Oct 29, 2024
1 parent edfa2ed commit 03de134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/API.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ function precompile(ctx::Context, pkgs::Vector{PackageSpec}; internal_call::Bool
extdep_names = extdep_names isa String ? String[extdep_names] : extdep_names
for extdep_name in extdep_names
extdep_uuid = weakdeps[extdep_name]
if extdep_uuid in keys(ctx.env.manifest.deps) || Base.in_sysimage(Base.PkgId(extdep_uuid, extdep_name))
if extdep_uuid in keys(ctx.env.manifest.deps)
push!(ext_deps, Base.PkgId(extdep_uuid, extdep_name))
else
all_extdeps_available = false
Expand Down

0 comments on commit 03de134

Please sign in to comment.