Skip to content

Commit

Permalink
Merge pull request EESSI#309 from trz42/nessi_remove_lmod_cache_update
Browse files Browse the repository at this point in the history
remove Lmod cache update
  • Loading branch information
poksumdo authored Apr 7, 2024
2 parents 23189fe + eb35ca5 commit 17a6e90
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions EESSI-install-software.sh
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ fi

### add packages here

echo ">> Creating/updating Lmod cache..."
echo ">> Creating/updating Lmod RC file..."
export LMOD_CONFIG_DIR="${EASYBUILD_INSTALLPATH}/.lmod"
lmod_rc_file="$LMOD_CONFIG_DIR/lmodrc.lua"
lmodrc_changed=$(cat ${pr_diff} | grep '^+++' | cut -f2 -d' ' | sed 's@^[a-z]/@@g' | grep '^create_lmodrc.py$' > /dev/null; echo $?)
Expand All @@ -265,7 +265,5 @@ if [ ! -f "$lmod_sitepackage_file" ] || [ "${sitepackage_changed}" == '0' ]; the
check_exit_code $? "$lmod_sitepackage_file created" "Failed to create $lmod_sitepackage_file"
fi

$TOPDIR/update_lmod_cache.sh ${EPREFIX} ${EASYBUILD_INSTALLPATH}

echo ">> Cleaning up ${TMPDIR}..."
rm -r ${TMPDIR}

0 comments on commit 17a6e90

Please sign in to comment.