summaryrefslogtreecommitdiff
path: root/scipy_distutils/nagfcompiler.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2005-09-14 18:55:03 +0000
committerTravis Oliphant <oliphant@enthought.com>2005-09-14 18:55:03 +0000
commit951cdad1a9b0a15b673bf56aecc1fef5066061f3 (patch)
treef307f0f2ebf404526fcc671958e8ea836b53baf9 /scipy_distutils/nagfcompiler.py
parentc261078e9c2d8fd958bf8b3758cdd07add5fc2e3 (diff)
downloadnumpy-951cdad1a9b0a15b673bf56aecc1fef5066061f3.tar.gz
renamed directories
Diffstat (limited to 'scipy_distutils/nagfcompiler.py')
-rw-r--r--scipy_distutils/nagfcompiler.py39
1 files changed, 0 insertions, 39 deletions
diff --git a/scipy_distutils/nagfcompiler.py b/scipy_distutils/nagfcompiler.py
deleted file mode 100644
index 193ed02c5..000000000
--- a/scipy_distutils/nagfcompiler.py
+++ /dev/null
@@ -1,39 +0,0 @@
-import os
-import sys
-
-from cpuinfo import cpu
-from fcompiler import FCompiler
-
-class NAGFCompiler(FCompiler):
-
- compiler_type = 'nag'
- version_pattern = r'NAGWare Fortran 95 compiler Release (?P<version>[^\s]*)'
-
- executables = {
- 'version_cmd' : ["f95", "-V"],
- 'compiler_f77' : ["f95", "-fixed"],
- 'compiler_fix' : ["f95", "-fixed"],
- 'compiler_f90' : ["f95"],
- 'linker_so' : ["f95"],
- 'archiver' : ["ar", "-cr"],
- 'ranlib' : ["ranlib"]
- }
-
- def get_flags_linker_so(self):
- if sys.platform=='darwin':
- return ['-unsharedf95','-Wl,-bundle,-flat_namespace,-undefined,suppress']
- return ["-Wl,shared"]
- def get_flags_opt(self):
- return ['-O4']
- def get_flags_arch(self):
- return ['-target=native']
- def get_flags_debug(self):
- return ['-g','-gline','-g90','-nan','-C']
-
-if __name__ == '__main__':
- from distutils import log
- log.set_verbosity(2)
- from fcompiler import new_fcompiler
- compiler = new_fcompiler(compiler='nag')
- compiler.customize()
- print compiler.get_version()