PackageCompiler.jl
PackageCompiler.jl copied to clipboard
Failure in binary after compilation due to artifact IntelOpenMP
Hi guys,
I am trying to build some binaries for a model containing ModelingToolkit.jl, OrdinaryDiffEq.jl, and Open62541.jl. The compilation finishes but if I try to run the binary, I get the following error message:
Clearly, this is related to some artifact related to IntelOpenMP, but since I am completely new to PackageCompiler.jl and still fairly new to Julia, I am a bit lost in debugging this error. Do you have any suggestions, what I could do?
The error happens because there are some JLLs with "lazy dependencies" that have been put into the sysimage. When the sysimage loads, these JLLs will try to download their lazy artifacts and for some reason, this fails.
- You can try
include_transitive_dependencies=falseand see if it does something (in the case where e.g. MKL is more of an optional dependency and not used). - You can also try
include_lazy_artifacts=trueto bundle these lazy artifacts (but pay attention to the resulting file size of your app).