JuliaLang/julia

Allow ignoring the native cache within a pkgimage.

Open

#51.412 aberto em 20 de set. de 2023

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)Julia (5.773 forks)batch import
compiler:precompilationhelp wantedpkgimagepriority

Métricas do repositório

Stars
 (48.709 stars)
Métricas de merge de PR
 (Mesclagem média 20d 6h) (157 fundiu PRs em 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.

Guia do colaborador