From 642975b3ec37a7897dda80b2fa809b7db00cc9aa Mon Sep 17 00:00:00 2001 From: KristofferC Date: Mon, 17 Nov 2025 15:47:29 +0100 Subject: [PATCH] init jlls we use if they are not initialized (happens when building a sysimage with Pkg --- src/precompile.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/precompile.jl b/src/precompile.jl index f6204d8dc6..3b86637ff5 100644 --- a/src/precompile.jl +++ b/src/precompile.jl @@ -1,6 +1,7 @@ using LibGit2: LibGit2 using Tar: Tar using Downloads +using p7zip_jll # used by REPLExt too function _run_precompilation_script_setup() @@ -9,6 +10,9 @@ function _run_precompilation_script_setup() empty!(DEPOT_PATH) pushfirst!(DEPOT_PATH, tmp) pushfirst!(LOAD_PATH, "@") + if isempty(p7zip_jll.artifact_dir) + p7zip_jll.__init__() + end write( "Project.toml", """