Skip to content

Commit a567219

Browse files
authored
Merge pull request #653 from ocaisa/lmod_wrapper_archdetect
Add Lmod-friendly wrapper for eessi_archdetect.sh
2 parents 3db7ade + f9bbb59 commit a567219

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# This can be leveraged by the source_sh() feature of Lmod
2+
export EESSI_ARCHDETECT_OPTIONS=$($(dirname $(readlink -f $BASH_SOURCE))/eessi_archdetect.sh -a cpupath)

install_scripts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ TOPDIR=$(dirname $(realpath $0))
8686
# Copy for init directory
8787
init_files=(
8888
bash eessi_archdetect.sh eessi_defaults eessi_environment_variables eessi_software_subdir_for_host.py
89-
minimal_eessi_env README.md test.py
89+
minimal_eessi_env README.md test.py lmod_eessi_archdetect_wrapper.sh
9090
)
9191
copy_files_by_list ${TOPDIR}/init ${INSTALL_PREFIX}/init "${init_files[@]}"
9292

0 commit comments

Comments
 (0)