summaryrefslogtreecommitdiff
path: root/lib/spack/external/archspec/cpu/microarchitecture.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/spack/external/archspec/cpu/microarchitecture.py')
-rw-r--r--lib/spack/external/archspec/cpu/microarchitecture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/external/archspec/cpu/microarchitecture.py b/lib/spack/external/archspec/cpu/microarchitecture.py
index 410d83c3dc..125d36e61b 100644
--- a/lib/spack/external/archspec/cpu/microarchitecture.py
+++ b/lib/spack/external/archspec/cpu/microarchitecture.py
@@ -106,7 +106,7 @@ class Microarchitecture(object):
self.name == other.name
and self.vendor == other.vendor
and self.features == other.features
- and self.ancestors == other.ancestors
+ and self.parents == other.parents # avoid ancestors here
and self.compilers == other.compilers
and self.generation == other.generation
)