compiler_fc¶
- waflib.Tools.compiler_fc.fc_compiler = {'aix': ['gfortran'], 'darwin': ['gfortran', 'g95', 'ifort'], 'default': ['gfortran'], 'java': ['gfortran', 'g95', 'ifort'], 'linux': ['gfortran', 'g95', 'ifort'], 'win32': ['gfortran', 'ifort']}¶
Dict mapping the platform names to lists of names of Fortran compilers to try, in order of preference:
from waflib.Tools.compiler_c import c_compiler c_compiler['linux'] = ['gfortran', 'g95', 'ifort']
- waflib.Tools.compiler_fc.configure(conf)[source]¶
Detects a suitable Fortran compiler
- Raises
waflib.Errors.ConfigurationError
when no suitable compiler is found