-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prefer archdetect
in our scripts, also make EESSI compatible with archspec 0.2.3+
#485
base: 2023.06-software.eessi.io
Are you sure you want to change the base?
Prefer archdetect
in our scripts, also make EESSI compatible with archspec 0.2.3+
#485
Conversation
Instance
|
This is still missing the most important part, the update to https://github.com/EESSI/software-layer/blob/2023.06-software.eessi.io/init/eessi_software_subdir_for_host.py |
…o fix_archspec_usage_for_0.2.3
…o fix_archspec_usage_for_0.2.3
EESSI-install-software.sh
Outdated
possible_subdir_paths=$(bash $TOPDIR/init/eessi_archdetect.sh -a cpupath) | ||
|
||
if [[ "$GENERIC" -eq 1 ]]; then | ||
# Last path is the generic case | ||
override_subdir="${possible_subdir_paths##*:}" | ||
else | ||
# First path is the best option (according to archspec) | ||
override_subdir="${possible_subdir_paths%%:*}" | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to note, this works as expected
~$ /cvmfs/software.eessi.io/versions/2023.06/init/eessi_archdetect.sh -a cpupath
x86_64/intel/skylake_avx512:x86_64/intel/haswell:x86_64/generic
~$ possible_subdir_paths=$(/cvmfs/software.eessi.io/versions/2023.06/init/eessi_archdetect.sh -a cpupath)
~$ echo ${possible_subdir_paths##*:}
x86_64/generic
~$ echo ${possible_subdir_paths%%:*}
x86_64/intel/skylake_avx512
~$ possible_subdir_paths="x86_64/generic"
~$ echo ${possible_subdir_paths%%:*}
x86_64/generic
~$ echo ${possible_subdir_paths##*:}
x86_64/generic
…ware-layer into fix_archspec_usage_for_0.2.3
archdetect
in our scripts
archdetect
in our scriptsarchdetect
in our scripts, also make EESSI compatible with archspec 0.2.3+
Groan, this is very out-of-sync now, I might just split it into two new PRs |
No description provided.