From 96ed4b2616859603e3fb0b82509cb053b0de8553 Mon Sep 17 00:00:00 2001 From: KristofferC Date: Mon, 25 Jan 2021 14:48:53 +0100 Subject: [PATCH 1/2] reenable precompiles --- src/precompile_includer.jl | 45 ++------------------------------------ 1 file changed, 2 insertions(+), 43 deletions(-) diff --git a/src/precompile_includer.jl b/src/precompile_includer.jl index c7c98a4d..4cd3f646 100644 --- a/src/precompile_includer.jl +++ b/src/precompile_includer.jl @@ -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_() From 142bb8cc567534396dee3257af534d2d6e4df4c3 Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Mon, 25 Jan 2021 16:11:28 +0100 Subject: [PATCH 2/2] Update benchmark.yml --- .github/workflows/benchmark.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 7047da27..0b20d756 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -25,7 +25,9 @@ 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: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}