Skip to content

Commit 5729387

Browse files
authored
override EASYBUILD_HOOKS later
1 parent e06d759 commit 5729387

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

EESSI-install-software.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +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-
export EASYBUILD_HOOKS=$TOPDIR/eb_hooks.py
322-
323321
# Install full CUDA SDK and cu* libraries in host_injections
324322
# (This is done *before* configuring EasyBuild as it may rely on an older EB version)
325323
# Hardcode this for now, see if it works
@@ -398,6 +396,8 @@ else
398396
# load EasyBuild module (will be installed if it's not available yet)
399397
source ${TOPDIR}/load_easybuild_module.sh ${eb_version}
400398

399+
export EASYBUILD_HOOKS=$TOPDIR/eb_hooks.py
400+
401401
${EB} --show-config
402402

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

0 commit comments

Comments
 (0)