reenable precompiles

This commit is contained in:
KristofferC 2021-01-25 14:48:53 +01:00
parent 6d4353d0b1
commit 96ed4b2616

View File

@ -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_()