diff --git a/bin/create_sys_image b/bin/create_sys_image index 457cd99..9a0f2ff 100755 --- a/bin/create_sys_image +++ b/bin/create_sys_image @@ -35,5 +35,10 @@ julia --project -e "using Pkg; using TestEnv; TestEnv.activate(); Pkg.add(\"PyCa julia --project -e "using Pkg; Pkg.precompile()" julia --project -e "include(\"./test/create_sys_image.jl\");" mv kps-image_tmp.so bin/kps-image-${julia_major}.so -julia --project -e "using Pkg; Pkg.precompile()" -julia --project -J bin/kps-image-${julia_major}-${branch}.so -e "using TestEnv; TestEnv.activate(); using ControlPlots, NativeFileDialog; import Plots" +echo "--> 1" +julia --project -e "using Pkg; try; Pkg.precompile(); catch; println(\"Warning...\"); end" +echo "--> 2" +julia --project -J bin/kps-image-${julia_major}.so -e "using ControlPlots, NativeFileDialog" +echo "--> 3" +julia --project -J bin/kps-image-${julia_major}.so -e "try; using Plots; catch; println(\"Warning when precompiling Plots...\"); end" +echo "Successfully created system image!" \ No newline at end of file