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
commit 45569c0d4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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