Skip to content

Commit 791dcdd

Browse files
author
Caspar van Leeuwen
committed
Set later
1 parent 04a7f4e commit 791dcdd

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

EESSI-install-software.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -318,10 +318,6 @@ echo "DEBUG: before loading EESSI-extend // EASYBUILD_INSTALLPATH='${EASYBUILD_I
318318
source $TOPDIR/load_eessi_extend_module.sh ${EESSI_VERSION}
319319
echo "DEBUG: after loading EESSI-extend // EASYBUILD_INSTALLPATH='${EASYBUILD_INSTALLPATH}'"
320320

321-
# Set EASYBUILD_HOOKS to use the hooks from the software-layer-scripts, to make it easier to use updated hooks
322-
export EASYBUILD_HOOKS=$TOPDIR/eb_hooks.py
323-
echo "DEBUG: set EASYBUILD_HOOKS=${EASYBUILD_HOOKS}"
324-
325321
# Install full CUDA SDK and cu* libraries in host_injections
326322
# (This is done *before* configuring EasyBuild as it may rely on an older EB version)
327323
# Hardcode this for now, see if it works
@@ -400,7 +396,10 @@ else
400396
# load EasyBuild module (will be installed if it's not available yet)
401397
source ${TOPDIR}/load_easybuild_module.sh ${eb_version}
402398

403-
echo "DEBUG: right before show-config, EASYBUILD_HOOKS=${EASYBUILD_HOOKS}"
399+
# Set EASYBUILD_HOOKS to use the hooks from the software-layer-scripts, to make it easier to use updated hooks
400+
export EASYBUILD_HOOKS=$TOPDIR/eb_hooks.py
401+
echo "DEBUG: set EASYBUILD_HOOKS=${EASYBUILD_HOOKS}"
402+
404403
${EB} --show-config
405404

406405
echo_green "All set, let's start installing some software with EasyBuild v${eb_version} in ${EASYBUILD_INSTALLPATH}..."

0 commit comments

Comments
 (0)