JuliaLang/julia

Allow ignoring the native cache within a pkgimage.

Open

#51,412 opened on Sep 20, 2023

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Julia (5,773 forks)batch import
compiler:precompilationhelp wantedpkgimagepriority

Repository metrics

Stars
 (48,709 stars)
PR merge metrics
 (Avg merge 20d 6h) (157 merged PRs in 30d)

Description

Currently --pkgimage=no triggers the recreation of a new cache-file. So does a couple of other Julia options. While for certain options this bifurcation of cache files might make sense, for others it's just duplicated work.

We could move the .data section back out of the .so and back into the .ji file, so allowing us to just load the .ji file and disregard the .so, or simply ignore the .text section and not wire up the native cache.

@gbaraldi had I think a couple of aborted attempts, but I don't think either of us currently have the time.

Contributor guide