-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't precompile on Windows machines #25
Comments
I think I see something similar on Linux, but it seems to depend on my code being in a module. Here is an annotated MNWE - I wonder if you could test something like this @BoundaryValueProblems ? #!/bin/sh
rm -rf /tmp/Module1
julia -e 'using Pkg; cd("/tmp"); Pkg.generate("Module1"); Pkg.activate("Module1"); Pkg.add.(["Gtk", "PythonPlot"])'
cat <<EOF > /tmp/Module1/src/Module1.jl
module Module1
using Gtk
using PythonPlot
end
EOF
julia --trace-compile=stderr --compiled-modules=no -e '@info "This will work:"; using Pkg; Pkg.activate("/tmp/Module1"); @time using Module1; @info "See, it worked!"'
julia --trace-compile=stderr -e '@info "This will NOT terminate:"; using Pkg; Pkg.activate("/tmp/Module1"); @time using Module1' And @stevengj - what further testing do you think is the most valuable? I am testing on Julia master and can provide a typescript at your request. |
I bisected the issue that I was encountering, and it starts when this commit landed: JuliaLang/julia@b029fbf Discussion that may be related - JuliaLang/julia#48506 |
I just added
PythonPlot.jl
on my Windows machine, and its precompilation never ends. On the other hand, on my Mac’s, I could precompile it without any problem. I use Julia v1.8.5, PythonPlot v1.0.2, Plots v1.38.7.By the way, I already have a working version of
PyPlot.jl
andPyCall.jl
on my Windows machine. Should I remove them if I want to usePythonPlot.jl
andPythonCall.jl
? Can they coexist? Any help would be appreciated!The text was updated successfully, but these errors were encountered: