Skip to content
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

Set JULIA_PKGDIR before Julia ever starts up when building docs #25036

Closed
wants to merge 2 commits into from

Conversation

staticfloat
Copy link
Sponsor Member

Attempting to set ENV["JULIA_PKGDIR"] from within Julia doesn't work,
as the LOAD_CACHE_PATH is initialized within an __init__() function
within Pkg, causing compile cache files to be saved to the default
location (within the user's $HOME) rather than the override location.
This change ensures that the docs pkg environment is properly confined.

@ararslan ararslan added the docsystem The documentation building system label Dec 12, 2017
Attempting to set `ENV["JULIA_PKGDIR"]` from within Julia doesn't work,
as the `LOAD_CACHE_PATH` is initialized within an `__init__()` function
within `Pkg`, causing compile cache files to be saved to the default
location (within the user's `$HOME`) rather than the override location.
This change ensures that the docs pkg environment is properly confined.
@fredrikekre
Copy link
Member

See also #26426

@staticfloat staticfloat mentioned this pull request May 8, 2018
@staticfloat
Copy link
Sponsor Member Author

Superceded by #27095

@staticfloat staticfloat deleted the sf/doc_pkgdir branch August 7, 2018 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docsystem The documentation building system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants