Merge pull request #2544 from JeffBezanson/jb/optlevel1

use -O1 for code in Plots.jl
This commit is contained in:
Daniel Schwabeneder
2020-04-06 22:59:32 +02:00
committed by GitHub
+4
View File
@@ -1,5 +1,9 @@
module Plots
if isdefined(Base, :Experimental) && isdefined(Base.Experimental, Symbol("@optlevel"))
@eval Base.Experimental.@optlevel 1
end
const _current_plots_version = VersionNumber(split(first(filter(line -> occursin("version", line), readlines(normpath(@__DIR__, "..", "Project.toml")))), "\"")[2])
using Reexport