diff --git a/EESSI-install-software.sh b/EESSI-install-software.sh index c20a69d588..00d5fadc20 100755 --- a/EESSI-install-software.sh +++ b/EESSI-install-software.sh @@ -267,10 +267,6 @@ if command_exists "nvidia-smi"; then ${EESSI_PREFIX}/scripts/gpu_support/nvidia/link_nvidia_host_libraries.sh fi -# Don't run the Lmod GPU driver check when doing builds (may not have a GPU, and it's not relevant for vanilla builds anyway) -#echo "EESSI_OVERRIDE_GPU_CHECK='${EESSI_OVERRIDE_GPU_CHECK}'" -#export EESSI_OVERRIDE_GPU_CHECK=1 - # use PR patch file to determine in which easystack files stuff was added changed_easystacks=$(cat ${pr_diff} | grep '^+++' | cut -f2 -d' ' | sed 's@^[a-z]/@@g' | grep '^easystacks/.*yml$' | egrep -v 'known-issues|missing') if [ -z "${changed_easystacks}" ]; then diff --git a/bot/build.sh b/bot/build.sh index dcc61c19d4..6bd19413fd 100755 --- a/bot/build.sh +++ b/bot/build.sh @@ -228,6 +228,11 @@ if [[ ! -z ${SHARED_FS_PATH} ]]; then BUILD_STEP_ARGS+=("--host-injections" "${SHARED_FS_PATH}/host-injections") fi +# Don't run the Lmod GPU driver check when doing builds (may not have a GPU, and it's not relevant for vanilla builds anyway) +echo "EESSI_OVERRIDE_GPU_CHECK='${EESSI_OVERRIDE_GPU_CHECK}'" +export EESSI_OVERRIDE_GPU_CHECK=1 +echo "EESSI_OVERRIDE_GPU_CHECK='${EESSI_OVERRIDE_GPU_CHECK}'" + # create tmp file for output of build step build_outerr=$(mktemp build.outerr.XXXX)