-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Pkg.build should launch a separate Julia process? #13458
Labels
domain:packages
Package management and loading
Comments
Seems like a pretty good idea. |
I agree with the proposed. I guess we are talking more of |
That's true, it should be |
Of course, if you spawn a new process for each |
Process spawning time is negligible in comparison to external build time. |
stevengj
added a commit
to stevengj/julia
that referenced
this issue
Oct 8, 2015
stevengj
added a commit
to stevengj/julia
that referenced
this issue
Oct 8, 2015
stevengj
added a commit
to stevengj/julia
that referenced
this issue
Oct 9, 2015
stevengj
added a commit
to stevengj/julia
that referenced
this issue
Oct 9, 2015
stevengj
added a commit
to stevengj/julia
that referenced
this issue
Oct 9, 2015
stevengj
added a commit
that referenced
this issue
Oct 31, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm wondering if
Pkg.update
should launch a separate Julia process, so that it builds in a "clean" Julia environment, similar toBase.compilecache
.Once you
import Foo
, subsequentimport Foo
calls in the same Julia process just load theFoo
you already imported, even if Foo has changed on disk. This has caused me lots of problems inPkg.update
, apparently because something like the following sequence of events occurs:BinDeps
orConda
was already loaded in a Julia sessionPkg.update
updatesBinDeps
orConda
Pkg.build
using the newBinDeps
orConda
Conda
isn't, currently) butPkg.build
expects some feature of the latest version that is not present in the already-imported versionThis would be solved by having
Pkg.update
launch a new Julia process.cc: @wildart, @StefanKarpinski
The text was updated successfully, but these errors were encountered: