fix(julials): fix sysimage update (remove func calls for printstyled in
tracecompile)
This commit is contained in:
parent
616a13b1b0
commit
ad4a9f53a1
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ cd(project_path)
|
||||||
run(`julia --project=. -e 'using Pkg; Pkg.update()'`)
|
run(`julia --project=. -e 'using Pkg; Pkg.update()'`)
|
||||||
compile_traces = Iterators.filter(eachline("tracecompile.jl")) do line
|
compile_traces = Iterators.filter(eachline("tracecompile.jl")) do line
|
||||||
# Remove anonymous functions from compile trace
|
# Remove anonymous functions from compile trace
|
||||||
!startswith(line, '#') && !occursin(r"\#\d+\#\d+", line)
|
!startswith(line, '#') && !occursin(r"\#\d+\#\d+", line) && !occursin(r"\#\#printstyled\#", line)
|
||||||
end |> join
|
end |> join
|
||||||
read("precompile_exec_head.jl", String) * compile_traces |> (b -> write("precompile_exec.jl", b))
|
read("precompile_exec_head.jl", String) * compile_traces |> (b -> write("precompile_exec.jl", b))
|
||||||
@info "compiling sysimage..."
|
@info "compiling sysimage..."
|
||||||
|
|
Loading…
Reference in a new issue