summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler/nag.py
diff options
context:
space:
mode:
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"]
}