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

Patch JULIA_LOAD_PATH #262

Merged
merged 6 commits into from Feb 7, 2022
Merged

Patch JULIA_LOAD_PATH #262

merged 6 commits into from Feb 7, 2022

Conversation

cako
Copy link
Contributor

@cako cako commented Feb 6, 2022

There is a well known issue in when using JULIA_LOAD_PATH in that if its value does not end with a ":", it does not find the default depot. See this issue.

In this fix, the env.sh file created will look like this:

if [ -n "$JULIA_LOAD_PATH" ]; then
export JULIA_LOAD_PATH=$RSFROOT/lib:${JULIA_LOAD_PATH}:
else
export JULIA_LOAD_PATH=$RSFROOT/lib:
fi

instead of this

if [ -n "$JULIA_LOAD_PATH" ]; then
export JULIA_LOAD_PATH=$RSFROOT/lib:${JULIA_LOAD_PATH}
else
export JULIA_LOAD_PATH=$RSFROOT/lib
fi

and analogous for env.csh.

@zhichenggeng zhichenggeng merged commit 7914a85 into ahay:master Feb 7, 2022
@cako cako deleted the patch-julia-path branch February 11, 2022 23:40
cako pushed a commit to cako/src that referenced this pull request Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants