Skip to content

Commit a4bfb9c

Browse files
authored
stop precompiling Distributed (#37816)
1 parent 2f6508d commit a4bfb9c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

contrib/generate_precompile.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ if have_repl
6464
"""
6565
end
6666

67+
# This is disabled because it doesn't give much benefit
68+
# and the code in Distributed is poorly typed causing many invalidations
69+
#=
6770
Distributed = get(Base.loaded_modules,
6871
Base.PkgId(Base.UUID("8ba89e20-285c-5b6f-9357-94700520ee1b"), "Distributed"),
6972
nothing)
@@ -75,6 +78,8 @@ if Distributed !== nothing
7578
@distributed (+) for i = 1:100 Int(rand(Bool)) end
7679
"""
7780
end
81+
=#
82+
7883

7984
Artifacts = get(Base.loaded_modules,
8085
Base.PkgId(Base.UUID("56f22d72-fd6d-98f1-02f0-08ddc0907c33"), "Artifacts"),

0 commit comments

Comments
 (0)