Skip to content

build(ci): try 1.12 with (almost) full stdlib collection in system image - #60139

Closed
pankgeorg wants to merge 5 commits into
JuliaLang:release-1.12from
pankgeorg:pg/1.12-max
Closed

build(ci): try 1.12 with (almost) full stdlib collection in system image#60139
pankgeorg wants to merge 5 commits into
JuliaLang:release-1.12from
pankgeorg:pg/1.12-max

Conversation

@pankgeorg

@pankgeorg pankgeorg commented Nov 14, 2025

Copy link
Copy Markdown

Experiment to benchmark 1.12.2-max (=julia 1.12.2 with 1.10 system image) startup times.

Details

When adding Pkg there, I get

error during bootstrap:
LoadError("sysimg.jl", 64, LoadError("/home/pgeorgakopoulos/julia/usr/share/julia/stdlib/v1.12/Pkg/src/Pkg.jl", 3, LoadError("/home/pgeorgakopoulos/julia/usr/share/julia/stdlib/v1.12/Pkg/src/precompile.jl", 101, Base.IOError("could not spawn `'' a registries/Registry.tar.gz -tgzip registries/Registry.tar`: no such file or directory (ENOENT)", -2))))

When adding MbedTLS, I get an issue about it not being found. I think it's fine.

Difference in size is ~300MB for the usr/lib/julia folder. I'd say that's negligible for the everyday user.

pgeorgakopoulos@georgetta:~/julia$ du usr/lib/julia/ -alh
273M    usr/lib/julia/sys.so
65M     usr/lib/julia/basecompiler-o.a
259M    usr/lib/julia/sysbase.so
402M    usr/lib/julia/sys-o.a
55M     usr/lib/julia/basecompiler.so
379M    usr/lib/julia/sysbase-o.a
1.4G    usr/lib/julia/
pgeorgakopoulos@georgetta:~/julia$ du usr/lib/julia/ -alh
318M    usr/lib/julia/sys.so
65M     usr/lib/julia/basecompiler-o.a
305M    usr/lib/julia/sysbase.so
468M    usr/lib/julia/sys-o.a
55M     usr/lib/julia/basecompiler.so
446M    usr/lib/julia/sysbase-o.a
1.7G    usr/lib/julia/

@giordano

Copy link
Copy Markdown
Member

When adding MbedTLS, I get an issue about it not being found.

Because it's not a stdlib in 1.12

@pankgeorg

Copy link
Copy Markdown
Author

When adding MbedTLS, I get an issue about it not being found.

Because it's not a stdlib in 1.12

The "stdlib" is a concept that eludes me 😅. Does it mean it's not in the default system image? Or that it's not the "default" way to do encryption any more?

Part of the what this PR tries to "prove" as a concept, is that "default system image", "standard libraries" and even "default environment variables" are not "one size fits all" as they can lead to highly diverse experiences and thus I'm trying to collect the data to propose that they should be highly configurable, easily. Which, as a goal, may be beyond julia itself (and into juliaup or even unchartered territory). Let's see what the data will show, I'm still at hypothesis stage🤞🏾

@giordano

Copy link
Copy Markdown
Member

Does it mean it's not in the default system image? Or that it's not the "default" way to do encryption any more?

It means it doesn't exist at all.

@KristofferC

KristofferC commented Nov 17, 2025

Copy link
Copy Markdown
Member

I pushed a commit with a version of Pkg that includes JuliaLang/Pkg.jl#4518 so it can be included in the sysimage. I will see if I can understand why the REPL hangs.

@adienes

adienes commented Apr 21, 2026

Copy link
Copy Markdown
Member

looks like this was only opened to trigger CI; closing to tidy up the tracker

@adienes adienes closed this Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants