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:
		 Massimiliano Culpo
					Massimiliano Culpo
				
			
				
					committed by
					
						 Todd Gamblin
						Todd Gamblin
					
				
			
			
				
	
			
			
			 Todd Gamblin
						Todd Gamblin
					
				
			
						parent
						
							e56f90c3ef
						
					
				
				
					commit
					aaa75b831f
				
			| @@ -1095,6 +1095,7 @@ def define_version_constraints(self): | |||||||
| 
 | 
 | ||||||
|     def define_compiler_version_constraints(self): |     def define_compiler_version_constraints(self): | ||||||
|         compiler_list = spack.compilers.all_compiler_specs() |         compiler_list = spack.compilers.all_compiler_specs() | ||||||
|  |         compiler_list = list(sorted(set(compiler_list))) | ||||||
| 
 | 
 | ||||||
|         for pkg_name, cspec in self.compiler_version_constraints: |         for pkg_name, cspec in self.compiler_version_constraints: | ||||||
|             possible_compiler_versions = [ |             possible_compiler_versions = [ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user