compiler constraints: deduplicate the list of compilers before encoding one_of_iff rules
This fixes 8 bugs in test/concretize.py
This commit is contained in:
parent
e56f90c3ef
commit
aaa75b831f
1 changed files with 1 additions and 0 deletions
|
@ -1095,6 +1095,7 @@ def define_version_constraints(self):
|
|||
|
||||
def define_compiler_version_constraints(self):
|
||||
compiler_list = spack.compilers.all_compiler_specs()
|
||||
compiler_list = list(sorted(set(compiler_list)))
|
||||
|
||||
for pkg_name, cspec in self.compiler_version_constraints:
|
||||
possible_compiler_versions = [
|
||||
|
|
Loading…
Reference in a new issue