Add test-JL-stdlibs target for precompiling stdlibs with JuliaLowering
#60194
+58
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds a new test target:
make test-JL-stdlibs, which precompiles a supported set of standard libraries using JuliaLowering.To accomplish this, it also adds a basic incremental sysimage build target (
julia-sysimg-JL-release/julia-sysimg-JL-debug) that modifies the base sysimage to include JuliaLowering.Currently 34 / 51 pkgimage-based stdlibs can be compiled with JuliaLowering:
ArgTools, Future, LibCURL_jll, Logging, OpenSSL_jl, Tar, dSFMT_jll, Base64, GMP_jll, LibGit2_jll, MPFR_jll, PCRE2_jll, UUIDs, libLLVM_jll, CRC32c, LLD_jll, LibSSH2_jll, MozillaCACerts_jll, Printf, Unicode, Mmap, nghttp2_jll, Distributed, LLVMLibUnwind_jll, LibUV_jll, NetworkOptions, Serialization, Zlib_jll, p7zip_jll, Downloads, LibCURL, LibUnwind_jll, OpenLibm_jll, SuiteSparse_jll, Zstd_jllStatistics, StyledStrings, SparseArrays, Profile, JuliaSyntaxHighlighting, DelimitedFiles, Markdown, Dates, LibGit2, Downloads, InteractiveUtils, Test, SharedArrays, REPL, TOML, Pkg, LazyArtifactsTODO:
precompilepkgsinvocation / stdlib filtering to a normal Julia test file if possibledefault/alltest targets