aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-09-05 23:45:54 +0300
committerGitHub <noreply@github.com>2019-09-05 23:45:54 +0300
commitd67d5411bb7fa00226365ebcfc475af08a4ba721 (patch)
treef0636ff994401375e4e1d38cb7d4559e58462d67 /run_project_tests.py
parent7b765155347005e01bdd9ae8bfdad7182f27f852 (diff)
parentb9af8f8b6b394903d64e4886712b38a056cd876f (diff)
downloadmeson-d67d5411bb7fa00226365ebcfc475af08a4ba721.zip
meson-d67d5411bb7fa00226365ebcfc475af08a4ba721.tar.gz
meson-d67d5411bb7fa00226365ebcfc475af08a4ba721.tar.bz2
Merge pull request #5823 from scivision/linker-pgi-linux
PGI compiler fixes
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py3
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