Skip to content

Commit

Permalink
stop precompiling Distributed
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Sep 30, 2020
1 parent 395e47f commit 07156e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contrib/generate_precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ if have_repl
"""
end

# This is disabled because it doesn't give much benefit
# and the code in Distributed is poorly typed causing many invalidations
Distributed = get(Base.loaded_modules,
Base.PkgId(Base.UUID("8ba89e20-285c-5b6f-9357-94700520ee1b"), "Distributed"),
nothing)
Expand All @@ -75,6 +77,8 @@ if Distributed !== nothing
@distributed (+) for i = 1:100 Int(rand(Bool)) end
"""
end
=#


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

0 comments on commit 07156e6

Please sign in to comment.