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

numpy-svn at scipy.org numpy-svn at scipy.org
Fri Dec 1 22:34:28 CST 2006


Author: oliphant
Date: 2006-12-01 22:34:25 -0600 (Fri, 01 Dec 2006)
New Revision: 3467

Modified:
   trunk/numpy/distutils/fcompiler/nag.py
Log:
Try updating version command for NAG compiler.

Modified: trunk/numpy/distutils/fcompiler/nag.py
===================================================================
--- trunk/numpy/distutils/fcompiler/nag.py	2006-12-02 04:11:31 UTC (rev 3466)
+++ trunk/numpy/distutils/fcompiler/nag.py	2006-12-02 04:34:25 UTC (rev 3467)
@@ -26,7 +26,11 @@
     def get_flags_opt(self):
         return ['-O4']
     def get_flags_arch(self):
-        return ['-target=native']
+        version = self.get_version()
+        if version < '5.1':
+            return ['-target=native']
+        else:
+            return ['']
     def get_flags_debug(self):
         return ['-g','-gline','-g90','-nan','-C']
 



More information about the Numpy-svn mailing list