Merge pull request #3242 from KristofferC/kc/reenable_precompilation
reenable precompiles
This commit is contained in:
commit
8a2a41f75b
2
.github/workflows/benchmark.yml
vendored
2
.github/workflows/benchmark.yml
vendored
@ -25,6 +25,8 @@ jobs:
|
||||
|
||||
- name: Run benchmarks
|
||||
run: $TESTCMD -e 'using BenchmarkCI; BenchmarkCI.judge()'
|
||||
- name: Print judgement
|
||||
run: julia -e 'using BenchmarkCI; BenchmarkCI.displayjudgement()'
|
||||
- name: Post results
|
||||
run: julia -e 'using BenchmarkCI; BenchmarkCI.postjudge()'
|
||||
env:
|
||||
|
||||
@ -1,44 +1,3 @@
|
||||
should_precompile = true
|
||||
include("../deps/SnoopCompile/precompile/linux/1.5/precompile_Plots.jl")
|
||||
|
||||
|
||||
# Don't edit the following! Instead change the script for `snoop_bot`.
|
||||
ismultios = true
|
||||
ismultiversion = true
|
||||
# precompile_enclosure
|
||||
@static if !should_precompile
|
||||
# nothing
|
||||
elseif !ismultios && !ismultiversion
|
||||
@static if (isfile("../deps/SnoopCompile/precompile/precompile_Plots.jl"))
|
||||
include("../deps/SnoopCompile/precompile/precompile_Plots.jl")
|
||||
_precompile_()
|
||||
end
|
||||
else
|
||||
@static if Sys.islinux()
|
||||
@static if v"1.5.0-DEV" <= VERSION <= v"1.5.9"
|
||||
@static if (isfile("../deps/SnoopCompile/precompile/linux/1.5/precompile_Plots.jl"))
|
||||
include("../deps/SnoopCompile/precompile/linux/1.5/precompile_Plots.jl")
|
||||
_precompile_()
|
||||
end
|
||||
else
|
||||
@static if (isfile("../deps/SnoopCompile/precompile/linux/1.5/precompile_Plots.jl"))
|
||||
include("../deps/SnoopCompile/precompile/linux/1.5/precompile_Plots.jl")
|
||||
_precompile_()
|
||||
end
|
||||
end
|
||||
|
||||
else
|
||||
@static if v"1.5.0-DEV" <= VERSION <= v"1.5.9"
|
||||
@static if (isfile("../deps/SnoopCompile/precompile/linux/1.5/precompile_Plots.jl"))
|
||||
include("../deps/SnoopCompile/precompile/linux/1.5/precompile_Plots.jl")
|
||||
_precompile_()
|
||||
end
|
||||
else
|
||||
@static if (isfile("../deps/SnoopCompile/precompile/linux/1.5/precompile_Plots.jl"))
|
||||
include("../deps/SnoopCompile/precompile/linux/1.5/precompile_Plots.jl")
|
||||
_precompile_()
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
end # precompile_enclosure
|
||||
_precompile_()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user