PackageCompilerX.jl icon indicating copy to clipboard operation
PackageCompilerX.jl copied to clipboard

Test with popular packages

Open KristofferC opened this issue 6 years ago • 5 comments

Plots DataFrames Gadfly PyPlot etc

KristofferC avatar Oct 22 '19 19:10 KristofferC

i can confirm Gadfly 1.2 can be compiled with julia 1.3.1 (not 1.3.0) and a 0-day master of PackageCompilerX using:

create_sysimage(:Gadfly, sysimage_path="GadflySysImage.so", precompile_execution_file=".julia/dev/Gadfly/test/runtests.jl")

bjarthur avatar Feb 04 '20 12:02 bjarthur

Thanks for testing

KristofferC avatar Feb 04 '20 12:02 KristofferC

Maybe even just test it with all registered packages? Maybe there could be an extensive test file here in the repo, that just tries to compile every existing package into a sysimg. For making this whole thing more robust, that might be the best strategy?

davidanthoff avatar Feb 06 '20 18:02 davidanthoff

Not feasible, would take days. Some popular packages + regression tests for bugs should be enough.

KristofferC avatar Feb 06 '20 19:02 KristofferC

I was not thinking as a regular thing, just a one-time thing to get corner cases sorted out.

davidanthoff avatar Feb 07 '20 00:02 davidanthoff