[Numpy-svn] r4787 - trunk/numpy/distutils/fcompiler

numpy-svn@scip... numpy-svn@scip...
Tue Feb 12 05:37:12 CST 2008


Author: pearu
Date: 2008-02-12 05:37:06 -0600 (Tue, 12 Feb 2008)
New Revision: 4787

Modified:
   trunk/numpy/distutils/fcompiler/hpux.py
Log:
hpux fortran compiler support: patch from an user feedback.

Modified: trunk/numpy/distutils/fcompiler/hpux.py
===================================================================
--- trunk/numpy/distutils/fcompiler/hpux.py	2008-02-10 15:22:01 UTC (rev 4786)
+++ trunk/numpy/distutils/fcompiler/hpux.py	2008-02-12 11:37:06 UTC (rev 4787)
@@ -21,12 +21,15 @@
     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)



More information about the Numpy-svn mailing list