BUGFIX: typo for PGI C/CPP

This commit is contained in:
Michael Hirsch, Ph.D 2019-06-20 20:03:05 -04:00
parent 5b109c9ad2
commit 838c8d642c
1 changed files with 1 additions and 1 deletions

View File

@ -792,7 +792,7 @@ class Environment:
else:
compiler_type = CompilerType.PGI_STANDARD
cls = PGICCompiler if lang == 'c' else PGICPPCompiler
return cls(ccache + compiler, version, compiler_type, for_machine, is_cross, compiler_type, exe_wrap)
return cls(ccache + compiler, version, compiler_type, for_machine, is_cross, exe_wrap)
if '(ICC)' in out:
if self.machines[for_machine].is_darwin():
compiler_type = CompilerType.ICC_OSX