Let 2023.06 modulefile redirect RISC-V clients to riscv.eessi.io, add symlink for 20240402 version #840
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This allows RISC-V clients (and, in particular, the build bot) to use the same modulefile as we use for software.eessi.io. By adding a symlink
20240402.lua -> 2023.06.lua
we can reuse the exact same modulefile. Note that I haven't added the symlink toinstall_scripts.sh
, which ensures that it won't be deployed to any repo (it would be confusing to have this in software.eessi.io, and we don't actually need it in riscv.eessi.io either, as long as it's available in the git repo; the bot sources the file from the git repo). The only slightly confusing thing is that the RISC-V repo will deploy the 2023.06.lua modulefile, so users from that repo will only seeEESSI/2023.06
. But I'm not really sure how to prevent that, except by adding a bunch of specific if statements toinstall_scripts.sh
.Instead of this approach we could also modify the EESSI-install-software.sh script and do something like this:
But I liked the solution with the modulefile a bit more.