From 411e88a5ab06dfdc6817c03f7dc96defc3a5d6aa Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 18 Dec 2016 18:51:09 +0200 Subject: [PATCH] Fix PGI Fortran compiler detection. --- mesonbuild/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 44c5965c2..3231fa858 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -457,7 +457,7 @@ class Environment(): if 'PathScale EKOPath(tm)' in err: return PathScaleFortranCompiler([compiler], version, is_cross, exe_wrap) - if 'pgf90' in out: + if 'PGI Compilers' in out: return PGIFortranCompiler([compiler], version, is_cross, exe_wrap) if 'Open64 Compiler Suite' in err: