JuliaLang/PackageCompiler.jl

Add option to log which statement is being precompiled

Open

#867 geöffnet am 13. Okt. 2023

Auf GitHub ansehen
 (0 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Julia (200 Forks)batch import
good first issueobservability

Repository-Metriken

Stars
 (1.538 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

We're seeing a hang during create_app (https://github.com/JuliaLang/julia/issues/51603) for which we suspected a hang during type inference for a precompile(...) statement.

It these cases, it'd be helpful to be able to turn on a verbose/debug option to print which statement is being precompiled

There's a commented-out println in the code for this, so it'd just be turning that into a proper debug option https://github.com/JuliaLang/PackageCompiler.jl/blob/846292c50a7177ea27f1fdb607be8c42174e030e/src/PackageCompiler.jl#L343

Contributor Guide