Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
eic_tools
Spack
Commits
c6241e72
Commit
c6241e72
authored
4 years ago
by
eugeneswalker
Committed by
Gregory Becker
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
bugfix: use getattr for variation.prefix/suffix (#17669)
parent
f528022a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/spack/spack/compilers/__init__.py
+2
-2
2 additions, 2 deletions
lib/spack/spack/compilers/__init__.py
with
2 additions
and
2 deletions
lib/spack/spack/compilers/__init__.py
+
2
−
2
View file @
c6241e72
...
@@ -681,8 +681,8 @@ def _default_make_compilers(cmp_id, paths):
...
@@ -681,8 +681,8 @@ def _default_make_compilers(cmp_id, paths):
sort_fn
=
lambda
variation
:
(
sort_fn
=
lambda
variation
:
(
'
cc
'
not
in
by_compiler_id
[
variation
],
# None last
'
cc
'
not
in
by_compiler_id
[
variation
],
# None last
'
cxx
'
not
in
by_compiler_id
[
variation
],
# None last
'
cxx
'
not
in
by_compiler_id
[
variation
],
# None last
variation
.
prefix
,
getattr
(
variation
,
'
prefix
'
,
None
)
,
variation
.
suffix
,
getattr
(
variation
,
'
suffix
'
,
None
)
,
)
)
compilers
=
[]
compilers
=
[]
...
...
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