diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-09-01 15:20:34 -0400 |
---|---|---|
committer | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-09-05 11:50:23 -0400 |
commit | 3447767cac4afce6540b7442d206d80c3c99a552 (patch) | |
tree | efd4276b2875a5e7456cece9fe6ccaeff9ca2b73 | |
parent | c8d380e4ef11cd1a72c785418f41dd420fbf6d1b (diff) | |
download | meson-3447767cac4afce6540b7442d206d80c3c99a552.zip meson-3447767cac4afce6540b7442d206d80c3c99a552.tar.gz meson-3447767cac4afce6540b7442d206d80c3c99a552.tar.bz2 |
PGI: windows PGI is sort of MSVC-like
-rwxr-xr-x | run_project_tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/run_project_tests.py b/run_project_tests.py index 2dff885..10dc8c6 100755 --- a/run_project_tests.py +++ b/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 |