Merge pull request #2544 from JeffBezanson/jb/optlevel1
use -O1 for code in Plots.jl
This commit is contained in:
commit
45569c0d4d
@ -1,5 +1,9 @@
|
|||||||
module Plots
|
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])
|
const _current_plots_version = VersionNumber(split(first(filter(line -> occursin("version", line), readlines(normpath(@__DIR__, "..", "Project.toml")))), "\"")[2])
|
||||||
|
|
||||||
using Reexport
|
using Reexport
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user