Skip to content

Commit 811a7a2

Browse files
authored
1.12 changes
1 parent 2f210ce commit 811a7a2

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/julia_init.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,11 @@ void init_julia(int argc, char **argv) {
7070
set_depot_load_path(root_dir);
7171
free(_sysimage_path);
7272
jl_options.image_file = sysimage_path;
73-
#if JULIA_VERSION_MAJOR == 1 && JULIA_VERSION_MINOR <= 11
73+
#if JULIA_VERSION_MAJOR == 1 && JULIA_VERSION_MINOR <= 11
7474
julia_init(JL_IMAGE_CWD);
75-
#else
76-
jl_image_buf_t sysimage = jl_preload_sysimg(jl_options.image_file);
77-
jl_init_(sysimage);
78-
#endif
79-
75+
#else
76+
jl_init_with_image_file(NULL, sysimage_path);
77+
#endif
8078
}
8179

8280
void shutdown_julia(int retcode) { jl_atexit_hook(retcode); }

src/library_selection.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const jll_mapping = Dict(
99
"nghttp2_jll" => ["libnghttp2"],
1010
"LibGit2_jll" => ["libgit2"],
1111
"SuiteSparse_jll" => ["libamd", "libbtf", "libcamd", "libccolamd", "libcholmod", "libcolamd", "libklu", "libldl", "librbio", "libspqr", "libsuitesparseconfig", "libumfpack"],
12+
"OpenSSL_jll" => ["libcrypto", "libssl"],
1213
)
1314

1415
# Manually fixup of libLLVM

0 commit comments

Comments
 (0)