BUGFIX: typo from 32e827dcdc
broke PGI compilers
This commit is contained in:
parent
42c9dde58e
commit
041de5814f
|
@ -909,7 +909,7 @@ class Environment:
|
|||
return PathScaleFortranCompiler(compiler, version, for_machine, is_cross, exe_wrap, full_version=full_version)
|
||||
|
||||
if 'PGI Compilers' in out:
|
||||
if self.machine[for_machine].is_darwin():
|
||||
if self.machines[for_machine].is_darwin():
|
||||
compiler_type = CompilerType.PGI_OSX
|
||||
elif self.machines[for_machine].is_windows():
|
||||
compiler_type = CompilerType.PGI_WIN
|
||||
|
|
Loading…
Reference in New Issue