make a project environment and manage LOAD_PATH for JuliaPackage#3239
make a project environment and manage LOAD_PATH for JuliaPackage#3239branfosj merged 10 commits intoeasybuilders:developfrom
JuliaPackage#3239Conversation
…matic precompilation
|
@boegelbot please test @ generoso |
|
@lexming: Request for testing this PR well received on login1 PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 1985233802 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot Overview of tested easyconfigs (in order)
Build succeeded for 4 out of 5 (5 easyconfigs in total) |
|
@boegelbot please test @ generoso |
|
@lexming: Request for testing this PR well received on login1 PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 1994749688 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot Overview of tested easyconfigs (in order)
Build succeeded for 5 out of 5 (5 easyconfigs in total) |
|
Test report by @branfosj Overview of tested easyconfigs (in order)
Build succeeded for 4 out of 4 (4 easyconfigs in total) |
|
Going in, thanks @lexming! |
…asyblocks into julia-env-load-path
|
Going in, thanks @lexming! |
JuliaPackage
This PR changes a bit how installations of JuliaPackages are handled to get the following improvements:
Fixes easybuilders/easybuild-easyconfigs#19281
Alternative fix for easybuilders/easybuild-easyconfigs#19650
JuliaPackagesthat have otherJuliaPackagesin theirdependencies. Currently those dependencies are not seen byJulia.Pkgwhich results in packages being re-installed even though they can be found in the deps. This is fixed by adding all Julia packages found across dependencies to the Julia environment of the installation.DEPOT_PATHand grab it from the Julia environment. This avoids needingJULIA_DEPOT_PATHin the shell environment.DEPOT_PATHandLOAD_PATHrespectively. This ensures that the user can keep using its own environment after loading JuliaPackage modules, installing additional software on its personal depot while still using packages provided by the module:DEPOT_PATHorLOAD_PATHon module load unless they are not set at allDEPOT_PATHand path to installation environment toLOAD_PATH