@@ -463,17 +463,6 @@ for compiler in "${SPACK_STACK_BATCH_COMPILERS[@]}"; do
463463 fi
464464 spack env activate -p ${env_dir}
465465
466- # # Workaround for building cylc environment on Narwhal: We need to use GNU
467- # # compilers without the Cray wrappers. Until we can come up with a smarter
468- # # solution, use this.
469- # if [[ ${host} == "narwhal" && ${template} == "cylc-dev" ]]; then
470- # echo "Applying workaround for ${template} on ${host}"
471- # cp -av configs/sites/tier1/narwhal/compilers.gcc-direct.tmp ${env_dir}/site/compilers.yaml
472- # elif [[ ${host} == "blueback" && ${template} == "cylc-dev" ]]; then
473- # echo "Applying workaround for ${template} on ${host}"
474- # cp -av configs/sites/tier1/blueback/compilers.gcc-direct.tmp ${env_dir}/site/compilers.yaml
475- # fi
476-
477466 # Update bootstrap mirror if requested
478467 if [[ " ${update_bootstrap_mirror} " == " true" * ]]; then
479468 tmp_bootstrap_mirror_path=${PWD} /tmp-bootstrap-mirror-${env_name}
@@ -584,32 +573,6 @@ for compiler in "${SPACK_STACK_BATCH_COMPILERS[@]}"; do
584573 spack stack setup-meta-modules 2>&1 | tee log.setup-meta-modules.${env_name} .001
585574 fi
586575
587- # # In install mode, run post-install scripts if applicable
588- # if [[ "${update_build_cache}" == "false" ]]; then
589- # case ${host} in
590- # atlantis)
591- # ;;
592- # blueback)
593- # ;;
594- # cole)
595- # ;;
596- # narwhal)
597- # ;;
598- # nautilus)
599- # ;;
600- # tusk)
601- # ;;
602- # blackpearl)
603- # ;;
604- # bounty)
605- # ;;
606- # *)
607- # echo "ERROR, post-install scripts not configured for ${host}"
608- # exit 1
609- # ;;
610- # esac
611- # fi
612-
613576 # When creating or updating buildcaches, fix permissions for mirrors.
614577 # Mirrors do not contain executables, therefore skip looking for them.
615578 if [[ " ${update_bootstrap_mirror} " == " true" ]]; then
0 commit comments