summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler/gnu.py
diff options
context:
space:
mode:
authorcookedm <cookedm@localhost>2007-07-06 15:05:09 +0000
committercookedm <cookedm@localhost>2007-07-06 15:05:09 +0000
commit3bbfa8af671843476dacf27f5f42006d9fd462fa (patch)
tree3b64fef993dbb0664b859e911ae2495c9029921b /numpy/distutils/fcompiler/gnu.py
parent2b7dcc22d4385e15ccb651c06fa62eece0bb45e0 (diff)
downloadnumpy-3bbfa8af671843476dacf27f5f42006d9fd462fa.tar.gz
Add support for aliases for Fortran compilers.
- 'g77' for gnu, 'gfortran' for gnu95, 'ifort' for intel
Diffstat (limited to 'numpy/distutils/fcompiler/gnu.py')
-rw-r--r--numpy/distutils/fcompiler/gnu.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/distutils/fcompiler/gnu.py b/numpy/distutils/fcompiler/gnu.py
index de1965d3c..cc6e90f0c 100644
--- a/numpy/distutils/fcompiler/gnu.py
+++ b/numpy/distutils/fcompiler/gnu.py
@@ -12,6 +12,7 @@ compilers = ['GnuFCompiler', 'Gnu95FCompiler']
class GnuFCompiler(FCompiler):
compiler_type = 'gnu'
+ compiler_aliases = ('g77',)
description = 'GNU Fortran 77 compiler'
def gnu_version_match(self, version_string):
@@ -270,6 +271,7 @@ class GnuFCompiler(FCompiler):
class Gnu95FCompiler(GnuFCompiler):
compiler_type = 'gnu95'
+ compiler_aliases = ('gfortran',)
description = 'GNU Fortran 95 compiler'
def version_match(self, version_string):