Skip to content

More graceful behavior when bisecting julia #70

@KristofferC

Description

@KristofferC

When bisecting julia it is quite easy to hit:

Failed to precompile BandedMatrices [aae01518-5342-5314-be14-df237901396f] to "/home/kristofferc/.julia/compiled/v1.13/BandedMatrices/jl_T9KPcx".
ERROR: LoadError: could not load symbol "jl_tag_newly_inferred_enable":
/tmp/jl_Rfu1Iv/bin/julia: undefined symbol: jl_tag_newly_inferred_enable
Stacktrace:
  [1] tag_newly_inferred_enable()
    @ PrecompileTools ~/.julia/packages/PrecompileTools/gn08A/src/workloads.jl:22
  [2] macro expansion
    @ ~/.julia/packages/PrecompileTools/gn08A/src/workloads.jl:77 [inlined]
  [3] macro expansion
    @ ~/.julia/packages/StaticArrays/DsPgf/src/precompile.jl:2 [inlined]
  [4] macro expansion
    @ ~/.julia/packages/PrecompileTools/gn08A/src/workloads.jl:121 [inlined]
  [5] top-level scope
    @ ~/.julia/packages/StaticArrays/DsPgf/src/precompile.jl:118
  [6] include(mapexpr::Function, mod::Module, _path::String)

Ideally precompile tools could fail more gracefully in situations like this. Right now, I use a fork with the macros just returning nothing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions