Use no mangling for all spack compiler definitions that use the XL (#8392)
Fortran compiler. Clang can build with IBM XL Fortran compiler as well, so the name mangling shoud be avoided for that case as well.
This commit is contained in:
		 Dan FitzGerald
					Dan FitzGerald
				
			
				
					committed by
					
						 Todd Gamblin
						Todd Gamblin
					
				
			
			
				
	
			
			
			 Todd Gamblin
						Todd Gamblin
					
				
			
						parent
						
							a67b2e2942
						
					
				
				
					commit
					64d20a3955
				
			| @@ -91,7 +91,8 @@ def install(self, spec, prefix): | ||||
|             'INCLUDEDIR   = $(SuperLUroot)/include', | ||||
|             'LOADOPTS     =', | ||||
|             'CDEFS        = %s' % ("-DNoChange" | ||||
|                                        if '%xl' in spec or '%xl_r' in spec | ||||
|                                        if spack_f77.endswith('xlf') or | ||||
|                                           spack_f77.endswith('xlf_r') | ||||
|                                        else "-DAdd_") | ||||
|         ]) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user