You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -944,10 +946,10 @@ function _precompilepkgs(pkgs::Vector{String},
944
946
try
945
947
# allows processes to wait if another process is precompiling a given package to
946
948
# a functionally identical package cache (except for preferences, which may differ)
947
-
t =@elapsed ret =precompile_pkgs_maybe_cachefile_lock(io, print_lock, fancyprint, pkg_config, pkgspidlocked, hascolor, parallel_limiter) do
949
+
t =@elapsed ret =precompile_pkgs_maybe_cachefile_lock(io, print_lock, fancyprint, pkg_config, pkgspidlocked, hascolor, parallel_limiter, ignore_loaded) do
948
950
Base.with_logger(Base.NullLogger()) do
949
-
#The false here means we ignore loaded modules, so precompile for a fresh session
950
-
keep_loaded_modules =false
951
+
#whether to respect already loaded dependency versions
952
+
keep_loaded_modules =!ignore_loaded
951
953
# for extensions, any extension in our direct dependencies is one we have a right to load
952
954
# for packages, we may load any extension (all possible triggers are accounted for above)
0 commit comments