diff options
author | cookedm <cookedm@localhost> | 2006-07-17 04:31:04 +0000 |
---|---|---|
committer | cookedm <cookedm@localhost> | 2006-07-17 04:31:04 +0000 |
commit | 2acb0e779d6d0a50288aed3c050fc1fbffaf692c (patch) | |
tree | 8e8cb7bb48e26b35619d28b4333accd46d23aff4 /numpy/distutils/fcompiler/intel.py | |
parent | c47e6cb2d885c753ece0667fa3f5fad74668e314 (diff) | |
download | numpy-2acb0e779d6d0a50288aed3c050fc1fbffaf692c.tar.gz |
fix arch flags for ifort on machines in em64t mode
Diffstat (limited to 'numpy/distutils/fcompiler/intel.py')
-rw-r--r-- | numpy/distutils/fcompiler/intel.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/numpy/distutils/fcompiler/intel.py b/numpy/distutils/fcompiler/intel.py index 1274ba05f..cb540d1bc 100644 --- a/numpy/distutils/fcompiler/intel.py +++ b/numpy/distutils/fcompiler/intel.py @@ -114,6 +114,12 @@ class IntelEM64TFCompiler(IntelFCompiler): 'ranlib' : ["ranlib"] } + def get_flags_arch(self): + opt = [] + if cpu.is_PentiumIV() or cpu.is_Xeon(): + opt.extend(['-tpp7', '-xW']) + return opt + class IntelVisualFCompiler(FCompiler): compiler_type = 'intelv' |