Skip to content
Snippets Groups Projects
Commit 04c1824c authored by Martin Lang's avatar Martin Lang
Browse files

Minimalistic fix for generic_arch on powerpc

parent 8a05a5bd
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,12 @@ spack_branch='mpsd/v0.21_24a' ...@@ -11,7 +11,12 @@ spack_branch='mpsd/v0.21_24a'
# system c compiler (autodetected later) # system c compiler (autodetected later)
system_compiler="" system_compiler=""
generic_arch="x86_64_v2" if [ `archspec cpu` = "power8le" ]; then
generic_arch="power8le"
else
generic_arch="x86_64_v2"
fi
echo "${C_MSG}#####${C_RESET} Using '$generic_arch' as generic architecture"
# default: spack cache is in pwd (microarch specific) # default: spack cache is in pwd (microarch specific)
# setup the build cache directory # setup the build cache directory
# This could be a symlink to different location ( e.g from a different run of the script) # This could be a symlink to different location ( e.g from a different run of the script)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment