Skip to content

Commit dcbd74e

Browse files
ViralBShahXnartharax
authored andcommitted
Remove SparseArrays from system image (JuliaLang#48979)
* Remove SparseArrays from system image and add it to cache_stdlibs.jl
1 parent a078649 commit dcbd74e

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

base/sysimg.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ let
6060
:InteractiveUtils,
6161
:LibGit2,
6262
:Profile,
63-
:SparseArrays,
6463
:UUIDs,
6564

6665
# 3-depth packages

contrib/cache_stdlibs.jl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,16 @@ stdlibs = [
2323
# 3-depth packages
2424
:LibGit2_jll,
2525

26+
# 4-depth packages
27+
:SparseArrays,
28+
2629
# 7-depth packages
2730
:LLD_jll,
28-
:SuiteSparse_jll,
31+
:SuiteSparse,
2932

3033
# 9-depth packages
3134
:Statistics,
32-
:SuiteSparse,
35+
:SuiteSparse_jll,
3336
]
3437

3538
depot = abspath(Sys.BINDIR, "..", "share", "julia")

test/precompile.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ precompile_test_harness(false) do dir
399399
:LazyArtifacts, :LibCURL, :LibCURL_jll, :LibGit2, :Libdl, :LinearAlgebra,
400400
:Logging, :Markdown, :Mmap, :MozillaCACerts_jll, :NetworkOptions, :OpenBLAS_jll, :Pkg, :Printf,
401401
:Profile, :p7zip_jll, :REPL, :Random, :SHA, :Serialization, :SharedArrays, :Sockets,
402-
:SparseArrays, :TOML, :Tar, :Test, :UUIDs, :Unicode,
402+
:TOML, :Tar, :Test, :UUIDs, :Unicode,
403403
:nghttp2_jll]
404404
),
405405
)

0 commit comments

Comments
 (0)