From 041de5814f8624dffdccbf74c1a0c46d77d93e76 Mon Sep 17 00:00:00 2001 From: "Michael Hirsch, Ph.D" Date: Fri, 5 Jul 2019 16:35:30 -0400 Subject: [PATCH] BUGFIX: typo from 32e827dcdc451e1c5 broke PGI compilers --- mesonbuild/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 948e225a9..a47208d34 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -909,7 +909,7 @@ class Environment: return PathScaleFortranCompiler(compiler, version, for_machine, is_cross, exe_wrap, full_version=full_version) if 'PGI Compilers' in out: - if self.machine[for_machine].is_darwin(): + if self.machines[for_machine].is_darwin(): compiler_type = CompilerType.PGI_OSX elif self.machines[for_machine].is_windows(): compiler_type = CompilerType.PGI_WIN