File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,13 @@ if (subprocess("uname -m"):gsub("\n$","") == "riscv64") then
3535 " For more details about this repository, see https://www.eessi.io/docs/repositories/riscv.eessi.io/." )
3636 end
3737 elseif (eessi_version == " 2025.06" ) then
38+ eessi_version_override = os.getenv (" EESSI_VERSION_OVERRIDE" ) or " "
39+ index_suffix = string.find (eessi_version_override , ' -' )
40+ if index_suffix then
41+ eessi_software_layer_version_suffix = string.sub (eessi_version_override , index_suffix )
42+ end
3843 eessi_repo = " /cvmfs/dev.eessi.io/riscv"
39- eessi_version = os.getenv (" EESSI_VERSION_OVERRIDE" ) or eessi_version
40- eessi_prefix = pathJoin (eessi_repo , " versions" , eessi_version )
44+ eessi_prefix = pathJoin (eessi_repo , " versions" , eessi_version .. eessi_software_layer_version_suffix )
4145 if mode () == " load" then
4246 LmodMessage (" This EESSI production version only provides a RISC-V compatibility layer,\n " ..
4347 " software installations are provided by the EESSI development repository at " .. eessi_repo .. " .\n " )
You can’t perform that action at this time.
0 commit comments