summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler/intel.py
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@googlemail.com>2011-04-22 19:29:29 +0200
committerRalf Gommers <ralf.gommers@googlemail.com>2011-04-22 19:29:29 +0200
commit9fc9db1df4df31c12c3f758bea8c6465313d9aef (patch)
treeb43a5134fadf33884c1585bad28dd35fcfa194c2 /numpy/distutils/fcompiler/intel.py
parentcd6d53ffc62562e3627b991a376512a4c1b78e1a (diff)
downloadnumpy-9fc9db1df4df31c12c3f758bea8c6465313d9aef.tar.gz
BUG: numpy doesn't compile anymore with ifort using -O3, changing to -O1.
Closes #1378. Thanks to Burkhard Neinhues and Christoph Gohlke.
Diffstat (limited to 'numpy/distutils/fcompiler/intel.py')
-rw-r--r--numpy/distutils/fcompiler/intel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/distutils/fcompiler/intel.py b/numpy/distutils/fcompiler/intel.py
index b593a91c7..190584829 100644
--- a/numpy/distutils/fcompiler/intel.py
+++ b/numpy/distutils/fcompiler/intel.py
@@ -57,7 +57,7 @@ class IntelFCompiler(BaseIntelFCompiler):
return ["-FR"]
def get_flags_opt(self):
- return ['-O3','-unroll']
+ return ['-O1']
def get_flags_arch(self):
v = self.get_version()
@@ -201,7 +201,7 @@ class IntelVisualFCompiler(BaseIntelFCompiler):
return ['/4Yb','/d2']
def get_flags_opt(self):
- return ['/O3','/Qip']
+ return ['/O1']
def get_flags_arch(self):
opt = []