Skip to content

Commit

Permalink
remove temporary SitePackage.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed Apr 28, 2024
1 parent 8b23e28 commit 718ce0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/gpu_support/nvidia/install_cuda_host_injections.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,9 @@ EOF
eb --prefix="$tmpdir" ${extra_args} --accept-eula-for=CUDA --hooks="$tmpdir"/none.py --installpath="${cuda_install_parent}"/ "${cuda_easyconfig}"
ret=$?

# remove temporary SitePackage.lua
rm ${cuda_install_parent}/.lmod/SitePackage.lua

# restore original arch-specific SitePackage.lua if any was present
if [ -f bkup-xyz-SitePackage.lua ]; then
mv bkup-xyz-SitePackage.lua ${cuda_install_parent}/.lmod/SitePackage.lua
Expand Down

0 comments on commit 718ce0b

Please sign in to comment.