JuliaLang / Pkg.jl

Pkg - Package manager for the Julia programming language
https://pkgdocs.julialang.org
Other
609 stars 251 forks source link

[v1.11] Pkg.test does not precompile the full env #3875

Open fredrikekre opened 2 months ago

fredrikekre commented 2 months ago

For example testing Metis.jl:

     Testing Running tests...
Precompiling Metis...
  5 dependencies successfully precompiled in 3 seconds. 27 already precompiled.
Precompiling LightGraphs...
  15 dependencies successfully precompiled in 13 seconds. 15 already precompiled.
Precompiling MetisLightGraphs...
  1 dependency successfully precompiled in 1 seconds. 51 already precompiled.
Precompiling Graphs...
  1 dependency successfully precompiled in 4 seconds. 29 already precompiled.
Precompiling MetisGraphs...
  1 dependency successfully precompiled in 1 seconds. 53 already precompiled.

These are all precompilation from using statements.

KristofferC commented 2 months ago

This happens when you have the env variable JULIA_PKG_PRECOMPILE_AUTO set to false. I am not that changed since 1.10.

fredrikekre commented 2 months ago

I dont think that env var should affect this case at least

fredrikekre commented 2 months ago

Edit: This was a separate issue, see #3889.