summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler/nag.py
diff options
context:
space:
mode:
authorcookedm <cookedm@localhost>2007-05-25 11:41:16 +0000
committercookedm <cookedm@localhost>2007-05-25 11:41:16 +0000
commit5267b3e16654ef326f525fdb9a1287a88396c616 (patch)
tree9e7137815415c08577f5451266cdc70f7caa3ea7 /numpy/distutils/fcompiler/nag.py
parentd11dbc78c0df5055a6ed57285775cc18dbe1721a (diff)
downloadnumpy-5267b3e16654ef326f525fdb9a1287a88396c616.tar.gz
merge from distutils-revamp branch (step 2)
- fcompiler changes. All flags, executables, etc., should be overridable by the user with config_fc (either command line or setup.cfg) or by environment variables
Diffstat (limited to 'numpy/distutils/fcompiler/nag.py')
-rw-r--r--numpy/distutils/fcompiler/nag.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/numpy/distutils/fcompiler/nag.py b/numpy/distutils/fcompiler/nag.py
index 79413dfc1..328e4074f 100644
--- a/numpy/distutils/fcompiler/nag.py
+++ b/numpy/distutils/fcompiler/nag.py
@@ -4,17 +4,20 @@ import sys
from numpy.distutils.cpuinfo import cpu
from numpy.distutils.fcompiler import FCompiler
+compilers = ['NAGFCompiler']
+
class NAGFCompiler(FCompiler):
compiler_type = 'nag'
+ description = 'NAGWare Fortran 95 Compiler'
version_pattern = r'NAGWare Fortran 95 compiler Release (?P<version>[^\s]*)'
executables = {
- 'version_cmd' : ["f95", "-V"],
+ 'version_cmd' : ["<F90>", "-V"],
'compiler_f77' : ["f95", "-fixed"],
'compiler_fix' : ["f95", "-fixed"],
'compiler_f90' : ["f95"],
- 'linker_so' : ["f95"],
+ 'linker_so' : ["<F90>"],
'archiver' : ["ar", "-cr"],
'ranlib' : ["ranlib"]
}