File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -23,18 +23,16 @@ jobs:
2323 - ' 1.10'
2424 - ' 1'
2525 - ' pre'
26+ - ' nightly'
2627 os :
2728 - ubuntu-latest
2829 - macOS-latest
2930 - windows-latest
30- arch :
31- - x64
3231 steps :
3332 - uses : actions/checkout@v4
3433 - uses : julia-actions/setup-julia@v2
3534 with :
3635 version : ${{ matrix.version }}
37- arch : ${{ matrix.arch }}
3836 show-versioninfo : ${{ matrix.version == 'nightly' }}
3937 - uses : actions/cache@v4
4038 env :
Original file line number Diff line number Diff line change @@ -31,7 +31,12 @@ isROOT(node::InferenceTimingNode) = isROOT(node.mi_timing)
3131getroot (node:: InferenceTimingNode ) = isdefined (node. parent, :parent ) ? getroot (node. parent) : node
3232
3333# Record instruction pointers we've already looked up (performance optimization)
34- const lookups = Dict {Union{UInt, Core.Compiler.InterpreterIP}, Vector{StackTraces.StackFrame}} ()
34+ const lookups = if isdefined (Core. Compiler, :InterpreterIP )
35+ Dict {Union{UInt, Core.Compiler.InterpreterIP}, Vector{StackTraces.StackFrame}} ()
36+ else
37+ # Julia 1.12+
38+ Dict {Union{UInt, Base.InterpreterIP}, Vector{StackTraces.StackFrame}} ()
39+ end
3540lookups_key (ip) = ip
3641lookups_key (ip:: Ptr{Nothing} ) = UInt (ip)
3742
You can’t perform that action at this time.
0 commit comments