diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2004-01-31 22:02:30 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2004-01-31 22:02:30 +0000 |
commit | 271fc73f95abab3a7962169cb54c1ba1ddba50e1 (patch) | |
tree | 1706a106c346be104465e157bc7d55dabb808555 /scipy_distutils/sunfcompiler.py | |
parent | 85ac6be83d87d902fc1dad3e00752fcd6c7ccd7d (diff) | |
download | numpy-271fc73f95abab3a7962169cb54c1ba1ddba50e1.tar.gz |
fcompiler classes
Diffstat (limited to 'scipy_distutils/sunfcompiler.py')
-rw-r--r-- | scipy_distutils/sunfcompiler.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scipy_distutils/sunfcompiler.py b/scipy_distutils/sunfcompiler.py index dd51b6360..77e78a5f3 100644 --- a/scipy_distutils/sunfcompiler.py +++ b/scipy_distutils/sunfcompiler.py @@ -18,9 +18,10 @@ class SunFCompiler(FCompiler): 'archiver' : ["ar", "-cr"], 'ranlib' : ["ranlib"] } + module_dir_switch = '-moddir=' + module_include_switch = '-M' + pic_flags = ['-xcode=pic32'] - def get_flags(self): - return ['-xcode=pic32'] def get_opt(self): return ['-fast','-dalign'] def get_arch(self): @@ -31,7 +32,7 @@ class SunFCompiler(FCompiler): return opt if __name__ == '__main__': - from distutils import log + from scipy_distutils import log log.set_verbosity(2) from fcompiler import new_fcompiler compiler = new_fcompiler(compiler='sun') |