From 411e88a5ab06dfdc6817c03f7dc96defc3a5d6aa Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 18 Dec 2016 18:51:09 +0200 Subject: Fix PGI Fortran compiler detection. --- mesonbuild/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild') diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 44c5965..3231fa8 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: -- cgit v1.1