From d4d5a796a7e2d5a3fe9fbaed7ca6a9fbc8d15bad Mon Sep 17 00:00:00 2001 From: Alan O'Cais Date: Tue, 15 Oct 2024 14:43:50 +0200 Subject: [PATCH] init script is the only one who sets EESSI_ARCHDETECT EESSI_ARCHSPEC --- .github/workflows/tests_eessi_module.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests_eessi_module.yml b/.github/workflows/tests_eessi_module.yml index f581bda3b7..693e293a04 100644 --- a/.github/workflows/tests_eessi_module.yml +++ b/.github/workflows/tests_eessi_module.yml @@ -101,13 +101,12 @@ jobs: sourceoutfile="sourceout.txt" module load EESSI/${{matrix.EESSI_VERSION}} unset EESSI_ARCHDETECT_OPTIONS - # module version uses archdetect (ignore this) - unset EESSI_USE_ARCHDETECT env | grep -E '^EESSI_' | sort > "${moduleoutfile}" module unload EESSI/${{matrix.EESSI_VERSION}} source ./init/bash - # source script version uses archspec (ignore this) + # source script version sets environment variables to force archdetect, ignore these unset EESSI_USE_ARCHSPEC + unset EESSI_USE_ARCHDETECT env | grep -E '^EESSI_' | sort > "${sourceoutfile}" cat "${moduleoutfile}" cat "${sourceoutfile}"