Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
spack-environments
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MPSD Computational Science
spack-environments
Commits
04c1824c
Commit
04c1824c
authored
1 year ago
by
Martin Lang
Browse files
Options
Downloads
Patches
Plain Diff
Minimalistic fix for generic_arch on powerpc
parent
8a05a5bd
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
spack_setup.sh
+6
-1
6 additions, 1 deletion
spack_setup.sh
with
6 additions
and
1 deletion
spack_setup.sh
+
6
−
1
View file @
04c1824c
...
@@ -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)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment