Skip to content

Commit 1a589e9

Browse files
suggestions
1 parent 4621c7f commit 1a589e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base/precompilation.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ function precompilepkgs(pkgs::Vector{String}=String[];
483483
fancyprint::Bool = can_fancyprint(io) && !timing,
484484
manifest::Bool=false,
485485
ignore_loaded::Bool=true)
486-
@debug "precompilepkgs called with: pkgs=$(pkgs), internal_call=$(internal_call), strict=$(strict), warn_loaded=$(warn_loaded), timing=$(timing), _from_loading=$( _from_loading), configs=$(configs), io=$(io), fancyprint=$(fancyprint), manifest=$(manifest), ignore_loaded=$(ignore_loaded)"
486+
@debug "precompilepkgs called with" pkgs internal_call strict warn_loaded timing _from_loading configs fancyprint manifest ignore_loaded
487487
# monomorphize this to avoid latency problems
488488
_precompilepkgs(pkgs, internal_call, strict, warn_loaded, timing, _from_loading,
489489
configs isa Vector{Config} ? configs : [configs],
@@ -651,7 +651,7 @@ function _precompilepkgs(pkgs::Vector{String},
651651

652652
serial_deps = Base.PkgId[] # packages that are being precompiled in serial
653653

654-
if _from_loading && !isempty(requested_pkgs)
654+
if _from_loading
655655
# if called from loading precompilation it may be a package from another environment stack
656656
# where we don't have access to the dep graph, so just add as a single package and do serial
657657
# precompilation of its deps within the job.

0 commit comments

Comments
 (0)