pyjulia
pyjulia copied to clipboard
trace-compile flag not supplied when building sysimage
It appears as if providing a custom julia script precompile.jl
with statements to execute has no effect on the buildt system image. I believe this is due to the command-line flag julia --trace-compile=precompile_statements.jl
not being supplied.
I was probably wrong about why there was no speedup, I instead believe it is due to :PyCall
being the only module that is passed to create_sysimage
at https://github.com/JuliaPy/pyjulia/blob/87c669e2729f9743fe2ab39320ec9b91c9300a96/src/julia/compile.jl#L35
So any module that is imported in the precompile_execution_file
script will not be included in the system image.