Skip to content

Commit

Permalink
init script is the only one who sets EESSI_ARCHDETECT EESSI_ARCHSPEC
Browse files Browse the repository at this point in the history
  • Loading branch information
ocaisa committed Oct 15, 2024
1 parent 1311055 commit d4d5a79
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/tests_eessi_module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit d4d5a79

Please sign in to comment.