From e85bf90b93abee7d82cd55cc1aef5de59c1d5363 Mon Sep 17 00:00:00 2001 From: KristofferC Date: Wed, 18 Oct 2023 15:41:46 +0200 Subject: [PATCH] move out Random from sysimage to see what packages it breaks --- base/sysimg.jl | 2 -- stdlib/stdlib.mk | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/base/sysimg.jl b/base/sysimg.jl index bf8de0bc3f75e..7c4b1c64c97d3 100644 --- a/base/sysimg.jl +++ b/base/sysimg.jl @@ -30,7 +30,6 @@ let :FileWatching, # used by loading.jl -- implicit assumption that init runs :Libdl, # Transitive through LinAlg :Artifacts, # Transitive through LinAlg - :SHA, # transitive through Random :Sockets, # used by stream.jl # Transitive through LingAlg @@ -39,7 +38,6 @@ let # 1-depth packages :LinearAlgebra, # Commits type-piracy and GEMM - :Random, # Can't be removed due to rand being exported by Base ] # PackageCompiler can filter out stdlibs so it can be empty maxlen = maximum(textwidth.(string.(stdlibs)); init=0) diff --git a/stdlib/stdlib.mk b/stdlib/stdlib.mk index 99bdefc66fa90..abc0f4f1eacfa 100644 --- a/stdlib/stdlib.mk +++ b/stdlib/stdlib.mk @@ -1,12 +1,12 @@ STDLIBS_WITHIN_SYSIMG := \ - Artifacts FileWatching Libdl SHA libblastrampoline_jll OpenBLAS_jll Random \ + Artifacts FileWatching Libdl libblastrampoline_jll OpenBLAS_jll \ LinearAlgebra Sockets INDEPENDENT_STDLIBS := \ ArgTools Base64 CRC32c Dates DelimitedFiles Distributed Downloads Future \ InteractiveUtils LazyArtifacts LibGit2 LibCURL Logging Markdown Mmap \ - NetworkOptions Profile Printf Pkg REPL Serialization SharedArrays SparseArrays \ - Statistics Tar Test TOML Unicode UUIDs \ + NetworkOptions Profile Printf Pkg Random REPL Serialization SharedArrays SparseArrays \ + Statistics SHA Tar Test TOML Unicode UUIDs \ dSFMT_jll GMP_jll libLLVM_jll LLD_jll LLVMLibUnwind_jll LibUnwind_jll LibUV_jll \ LibCURL_jll LibSSH2_jll LibGit2_jll nghttp2_jll MozillaCACerts_jll MbedTLS_jll \ MPFR_jll OpenLibm_jll PCRE2_jll p7zip_jll Zlib_jll