diff options
author | Steven Knight <knight@baldmt.com> | 2005-08-22 09:13:35 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-08-22 09:13:35 (GMT) |
commit | 828f2bc8936354dfa67ef595efdcb7c5e43f8bf5 (patch) | |
tree | f0a7f48289789c83b4d7c574d7b42fe220978e13 /src/engine | |
parent | 93e408515a55593b0c27f39220e4aa37131d1f0d (diff) | |
download | SCons-828f2bc8936354dfa67ef595efdcb7c5e43f8bf5.zip SCons-828f2bc8936354dfa67ef595efdcb7c5e43f8bf5.tar.gz SCons-828f2bc8936354dfa67ef595efdcb7c5e43f8bf5.tar.bz2 |
Add f90 and f95 to the list of Fortran compilers searched by default.
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/SCons/Tool/__init__.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/engine/SCons/Tool/__init__.py b/src/engine/SCons/Tool/__init__.py index b4e8ad5..94fe121 100644 --- a/src/engine/SCons/Tool/__init__.py +++ b/src/engine/SCons/Tool/__init__.py @@ -321,7 +321,7 @@ def tool_list(platform, env): c_compilers = ['msvc', 'mingw', 'gcc', 'intelc', 'icl', 'icc', 'cc', 'bcc32' ] cxx_compilers = ['msvc', 'intelc', 'icc', 'g++', 'c++', 'bcc32' ] assemblers = ['masm', 'nasm', 'gas', '386asm' ] - fortran_compilers = ['g77', 'ifl', 'cvf', 'fortran'] + fortran_compilers = ['g77', 'ifl', 'cvf', 'f95', 'f90', 'fortran'] ars = ['mslib', 'ar', 'tlib'] elif str(platform) == 'os2': "prefer IBM tools on OS/2" @@ -337,7 +337,7 @@ def tool_list(platform, env): c_compilers = ['sgicc', 'gcc', 'cc'] cxx_compilers = ['sgic++', 'g++', 'c++'] assemblers = ['as', 'gas'] - fortran_compilers = ['f77', 'g77', 'fortran'] + fortran_compilers = ['f95', 'f90', 'f77', 'g77', 'fortran'] ars = ['sgiar'] elif str(platform) == 'sunos': "prefer Forte tools on SunOS" @@ -345,7 +345,7 @@ def tool_list(platform, env): c_compilers = ['suncc', 'gcc', 'cc'] cxx_compilers = ['sunc++', 'g++', 'c++'] assemblers = ['as', 'gas'] - fortran_compilers = ['f77', 'g77', 'fortran'] + fortran_compilers = ['f95', 'f90', 'f77', 'g77', 'fortran'] ars = ['sunar'] elif str(platform) == 'hpux': "prefer aCC tools on HP-UX" @@ -353,7 +353,7 @@ def tool_list(platform, env): c_compilers = ['hpcc', 'gcc', 'cc'] cxx_compilers = ['hpc++', 'g++', 'c++'] assemblers = ['as', 'gas'] - fortran_compilers = ['f77', 'g77', 'fortran'] + fortran_compilers = ['f95', 'f90', 'f77', 'g77', 'fortran'] ars = ['ar'] elif str(platform) == 'aix': "prefer AIX Visual Age tools on AIX" @@ -361,7 +361,7 @@ def tool_list(platform, env): c_compilers = ['aixcc', 'gcc', 'cc'] cxx_compilers = ['aixc++', 'g++', 'c++'] assemblers = ['as', 'gas'] - fortran_compilers = ['aixf77', 'g77', 'fortran'] + fortran_compilers = ['f95', 'f90', 'aixf77', 'g77', 'fortran'] ars = ['ar'] elif str(platform) == 'darwin': "prefer GNU tools on Mac OS X, except for some linkers and IBM tools" @@ -369,7 +369,7 @@ def tool_list(platform, env): c_compilers = ['gcc', 'cc'] cxx_compilers = ['g++', 'c++'] assemblers = ['as'] - fortran_compilers = ['g77'] + fortran_compilers = ['f95', 'f90', 'g77'] ars = ['ar'] else: "prefer GNU tools on all other platforms" @@ -377,7 +377,7 @@ def tool_list(platform, env): c_compilers = ['gcc', 'msvc', 'intelc', 'icc', 'cc'] cxx_compilers = ['g++', 'msvc', 'intelc', 'icc', 'c++'] assemblers = ['gas', 'nasm', 'masm'] - fortran_compilers = ['g77', 'ifort', 'ifl', 'fortran'] + fortran_compilers = ['f95', 'f90', 'g77', 'ifort', 'ifl', 'fortran'] ars = ['ar', 'mslib'] c_compiler = FindTool(c_compilers, env) or c_compilers[0] |