Open olivierlabayle opened 9 months ago
We've run into a similar problem. The hard-coded depot path (here) is not writeable in our environment. We want to dynamically create a package from the app so we need to add a writeable depot path. But since JULIA_DEPOT_PATH
is ignored, we are unable to do this.
Can we change the setenv
to instead do an append to whatever was already in JULIA_DEPOT_PATH
?
Cc: @KristofferC
To retain current behavior, maybe appending to JULIA_DEPOT_PATH
could be made conditional on a PackageCompiler command line argument?
You can change the environment on the app or? The one set there is only for starting it up. I must be misunderstanding something. But sure, we could append to it.
Yeah, we'd prefer to not hard-code environment changes into the app. Basically what happens now is we run:
$ export JULIA_DEPOT_PATH=...
$ <our_app>
And in <our_app>
, we don't see what was set for JULIA_DEPOT_PATH
(as it is overwritten by the setenv
).
Hello,
I am building an app in a docker container and then try to run it via singularity. The app builds successfully but can't run because the
DEPOT_PATH
seems to be hardlinked to the app'sshare
folder. Whether I do:or
Scratch.jl which I think is supposed to write to the
DEPOT_PATH
seems to be tryiing to append thescratch_usage.toml
in/TargetedEstimation.jl/tmle/share/julia/logs/
.Can I do anything to fix this? Thanks!
Full stacktrace: