From fbbd7289db32b50a4bb6044b064310d03cee9b7e Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Tue, 25 Apr 2017 00:09:15 +0200 Subject: Detect intel fortran compiler The intel fortran compiler "ifort" was not listed in the list of default fortran compilers. This caused it to not be found unless explicitly set via the FC. --- authors.txt | 1 + mesonbuild/environment.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/authors.txt b/authors.txt index 91473a1..72df2c2 100644 --- a/authors.txt +++ b/authors.txt @@ -82,3 +82,4 @@ Richard Hughes Rafael Fontenelle Michael Olbrich Ernestas Kulik +Thomas Hindoe Paaboel Andersen diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 3152d5d..d3be926 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -271,7 +271,7 @@ class Environment: self.default_cpp = ['c++'] self.default_objc = ['cc'] self.default_objcpp = ['c++'] - self.default_fortran = ['gfortran', 'g95', 'f95', 'f90', 'f77'] + self.default_fortran = ['gfortran', 'g95', 'f95', 'f90', 'f77', 'ifort'] self.default_static_linker = ['ar'] self.vs_static_linker = ['lib'] self.gcc_static_linker = ['gcc-ar'] -- cgit v1.1