-
-
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
Configurable Path for compiled
#30202
Comments
The |
From the package manager docs for
It looks like any newly installed package will be installed to the first entry of the path, so making the first entry in |
Aren't the packages already installed? If not, could you just not push the depot path after they are installed but before they are loaded? |
Having a static configuration is better than a dynamic one because it reduces the possibility of errors. For example, installing a few packages, running a simulation, installing one additional package and then having the one additional package magically disappear because it got installed to the non-persistent file system. It also jives better with the module system frequently used on clusters, where the person who creates the julia module can configure the depot and compiled paths for each user. This avoids the possibility of one user forgetting to set the compiled path and causing filesystem problems for everyone. |
Ref #30174 where it was noted that having source code and compiled code on the same filesystem may be problematic with the new atomic compilecache. Having an environment variable (separate from
JULIA_DEPOT_PATH
) to configure this would be good.The text was updated successfully, but these errors were encountered: