diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2008-02-12 11:37:06 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2008-02-12 11:37:06 +0000 |
commit | 56d156240e0d7d65c443c01fff931aaa27b3cca4 (patch) | |
tree | 5e8d8751e4fe58bb26dcf9fb5a0e4ae1d06676d2 /numpy/distutils/fcompiler/hpux.py | |
parent | 541c0e56db9d8da3c99e2ab84098f94a39683e98 (diff) | |
download | numpy-56d156240e0d7d65c443c01fff931aaa27b3cca4.tar.gz |
hpux fortran compiler support: patch from an user feedback.
Diffstat (limited to 'numpy/distutils/fcompiler/hpux.py')
-rw-r--r-- | numpy/distutils/fcompiler/hpux.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/numpy/distutils/fcompiler/hpux.py b/numpy/distutils/fcompiler/hpux.py index 7fe145f03..baaba1b4d 100644 --- a/numpy/distutils/fcompiler/hpux.py +++ b/numpy/distutils/fcompiler/hpux.py @@ -21,12 +21,15 @@ class HPUXFCompiler(FCompiler): module_include_switch = None #XXX: fix me pic_flags = ['+pic=long'] def get_flags(self): - return self.pic_flags + ['+ppu'] + return self.pic_flags + ['+ppu', '+DD64'] def get_flags_opt(self): return ['-O3'] def get_libraries(self): return ['m'] - def get_version(self, force=0, ok_status=[256,0]): + def get_library_dirs(self): + opt = ['/usr/lib/hpux64'] + return opt + def get_version(self, force=0, ok_status=[256,0,1]): # XXX status==256 may indicate 'unrecognized option' or # 'no input file'. So, version_cmd needs more work. return FCompiler.get_version(self,force,ok_status) |