Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/wrapper_generators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ macro generate_wrapper_header(src_name)
return $(Expr(:macrocall, Symbol("@artifact_str"), __source__, src_name))
end
end
eager_mode() = nothing
if ccall(:jl_generating_output, Cint, ()) == 1
Base.precompile(find_artifact_dir, ()) # to precompile this into Pkgimage
# to precompile these into Pkgimage
Base.precompile(find_artifact_dir, ())
Base.precompile(eager_mode, ())
end
eager_mode() = nothing
end)
end

Expand Down
Loading