Skip to content

Commit

Permalink
soften circular dep warning during precompilation
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Aug 20, 2024
1 parent a2b1b4e commit 0d38060
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion base/precompilation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,9 @@ function precompilepkgs(pkgs::Vector{String}=String[];
end
end
if !isempty(circular_deps)
@warn """Circular dependency detected. Precompilation will be skipped for:\n $(join(string.(circular_deps), "\n "))"""
@warn """
Circular dependency detected. Loading may still succeed, but parallel precompilation will be skipped for:
$(join(map(d->repr("text/plain", d), circular_deps), "\n "))"""
end
@debug "precompile: circular dep check done"

Expand Down

0 comments on commit 0d38060

Please sign in to comment.