i have two environments with some packages in common. when i using one of the common packages in one environment, it has to be recompiled after i activate the other environment and using it there.
here i activate screen and using Images which leads to a precompilation. this is fine.
here i start a fresh julia again and activate render again-- the same environment that was most recently activate. using Images now results in no re-compilation. great!
$ ~/src/julia/usr/bin/julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.2.0-DEV.148 (2019-01-11)
_/ |\__'_|_|_|\__'_| | Commit 919cd62 (3 days old master)
|__/ |
(v1.2) pkg> activate projects/mouselight/src/render
julia> using Images
julia>
but in a fresh julia start if i activate screen, which was used before but not most recently, a using Images results in a re-compilation. how frusterating!
$ ~/src/julia/usr/bin/julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.2.0-DEV.148 (2019-01-11)
_/ |\__'_|_|_|\__'_| | Commit 919cd62 (3 days old master)
|__/ |
(v1.2) pkg> activate projects/genie/screen
julia> using Images
[ Info: Recompiling stale cache file /home/arthurb/.julia/compiled/v1.2/Images/H8Vxc.ji for Images [916415d5-f1e6-5110-898d-aaa5f9f070e0]
julia>
i have two environments with some packages in common. when i
using
one of the common packages in one environment, it has to be recompiled after iactivate
the other environment andusing
it there.here i
activate screen
andusing Images
which leads to a precompilation. this is fine.in a fresh julia session, i
activate render
. Images should already be precompiled from above, yet it does so again when iusing
it. why?here i start a fresh julia again and
activate render
again-- the same environment that was most recently activate.using Images
now results in no re-compilation. great!but in a fresh julia start if i
activate screen
, which was used before but not most recently, ausing Images
results in a re-compilation. how frusterating!