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

fix JULIA_DEPOT_PATH for Julia #19650

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 12 additions & 6 deletions easybuild/easyconfigs/j/Julia/Julia-1.10.0-linux-x86_64.eb
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,18 @@ sanity_check_paths = {

sanity_check_commands = ['julia --help']

modextrapaths_append = {
# Use default DEPOT_PATH where first entry is user's depot.
# JULIA_DEPOT_PATH must be set to be able to load other JuliaPackage modules and have
# those installations appended to DEPOT_PATH without disabling any of the default paths.
# Appending ':' to make sure we don't override the user's custom JULIA_DEPOT_PATH if set.
'JULIA_DEPOT_PATH': ':',
# Use default DEPOT_PATH where first entry is user's depot.
# JULIA_DEPOT_PATH must be set to be able to load other JuliaPackage modules and have
# those installations appended to DEPOT_PATH without disabling any of the default paths.
# Make sure we don't override the user's custom JULIA_DEPOT_PATH if set.
modluafooter = 'append_path("JULIA_DEPOT_PATH", ":")'
# workaround for Tcl modules, which does not support appending a colon
modtclfooter = """
if {![info exists env(JULIA_DEPOT_PATH)]} {
setenv JULIA_DEPOT_PATH :
} else {
append-path JULIA_DEPOT_PATH {}
}
"""

moduleclass = 'lang'