Skip to content

Commit

Permalink
precompile find_artifact_dir (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth authored May 1, 2023
1 parent 5b14792 commit e793874
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/wrapper_generators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ macro generate_wrapper_header(src_name)
return $(Expr(:macrocall, Symbol("@artifact_str"), __source__, src_name))
end
end
if ccall(:jl_generating_output, Cint, ()) == 1
find_artifact_dir() # to precompile this into Pkgimage
end
end)
end

Expand Down

0 comments on commit e793874

Please sign in to comment.