Skip to content

Commit e5e365c

Browse files
authored
Merge pull request #21315 from JuliaLang/jb/fix21313
fix #21313, precompile.jl with USE_GPL_LIBS=0
2 parents a17b1ae + 6a9c3c2 commit e5e365c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

base/precompile.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010

1111
precompile(Tuple{typeof(Base.pointer), Array{UInt8, 1}, UInt64})
1212
precompile(Tuple{typeof(Base.convert), Type{Ptr{Int32}}, Ptr{UInt8}})
13+
if USE_GPL_LIBS
1314
precompile(Tuple{typeof(Base.SparseArrays.CHOLMOD.set_print_level), Array{UInt8, 1}, Int64})
15+
end
1416
precompile(Tuple{Type{Base.Multimedia.TextDisplay}, Base.TTY})
1517
precompile(Tuple{typeof(Base._start)})
1618
precompile(Tuple{typeof(Base.copy!), Array{String, 1}, Int64, Array{Any, 1}, Int64, Int64})

0 commit comments

Comments
 (0)