PGI: windows PGI is sort of MSVC-like

pull/5823/head
Michael Hirsch, Ph.D 5 years ago
parent c8d380e4ef
commit 3447767cac
No known key found for this signature in database
GPG Key ID: 6D23CDADAB0294F9
  1. 3
      run_project_tests.py

@ -114,7 +114,8 @@ def get_relative_files_list_from_dir(fromdir: Path) -> typing.List[Path]:
def platform_fix_name(fname: str, compiler, env) -> str:
# canonicalize compiler
if compiler in {'clang-cl', 'intel-cl'}:
if (compiler in {'clang-cl', 'intel-cl'} or
(env.machines.host.is_windows() and compiler == 'pgi')):
canonical_compiler = 'msvc'
else:
canonical_compiler = compiler

Loading…
Cancel
Save