Skip to content

Commit

Permalink
Precompile all the JLLs
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Nov 10, 2020
1 parent fa8ee1f commit 27f7b75
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 13 deletions.
16 changes: 15 additions & 1 deletion base/sysimg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,22 @@ let
:REPL,
:Statistics,
:Zlib_jll,
:GMP_jll,
:p7zip_jll,
:dSFMT_jll,
:libLLVM_jll,
:MozillaCACerts_jll,
:nghttp2_jll,
:LibUV_jll,
:PCRE2_jll,
:OpenLibm_jll,
:LibOSXUnwind_jll,
:LibUnwind_jll,
:OpenBLAS_jll,
:SuiteSparse_jll,
:MbedTLS_jll,
:LibSSH2_jll,
:GMP_jll,
:MPFR_jll,
:LibCURL_jll,
:LibCURL,
:Downloads,
Expand Down
11 changes: 2 additions & 9 deletions stdlib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,8 @@ $(build_datarootdir)/julia/stdlib/$(VERSDIR):

JLLS = dSFMT_jll GMP_jll LibCURL_jll LibGit2_jll libLLVM_jll LibSSH2_jll \
LibUV_jll MbedTLS_jll MozillaCACerts_jll MPFR_jll nghttp2_jll \
OpenBLAS_jll OpenLibm_jll p7zip_jll PCRE2_jll SuiteSparse_jll Zlib_jll

ifeq ($(OS),Darwin)
JLLS += LibOSXUnwind_jll
endif

ifneq (,$(filter $(OS), Linux FreeBSD))
JLLS += LibUnwind_jll
endif
OpenBLAS_jll OpenLibm_jll p7zip_jll PCRE2_jll SuiteSparse_jll Zlib_jll \
LibOSXUnwind_jll LibUnwind_jll

# Define rule to download `Artifacts.toml` file for each JLL we bundle.
define download-artifacts-toml
Expand Down
6 changes: 3 additions & 3 deletions stdlib/MbedTLS_jll/src/MbedTLS_jll.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

## dummy stub for https://github.com/JuliaBinaryWrappers/LibMbedTLS_jll.jl
## dummy stub for https://github.com/JuliaBinaryWrappers/MbedTLS_jll.jl

module LibMbedTLS_jll
module MbedTLS_jll

using Libdl

Expand Down Expand Up @@ -42,4 +42,4 @@ function __init__()
global libmbedx509_path = dlpath(libmbedx509_handle)
end

end # module LibMbedTLS_jll
end # module MbedTLS_jll

0 comments on commit 27f7b75

Please sign in to comment.