diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2016-05-21 20:13:32 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2016-05-22 09:48:22 -0600 |
commit | d5e128c331a2ab404821e744f826da3f840733da (patch) | |
tree | 78216e1f955b2a8f6be662376f744d16cf434691 /numpy/distutils/intelccompiler.py | |
parent | 6ce33a18a62fbc42af2c7a325130f705740c2a1e (diff) | |
download | numpy-d5e128c331a2ab404821e744f826da3f840733da.tar.gz |
BLD: Remove Intel compiler flag -xSSE4.2
The consensus seems to be that hardcoding SSE4.2 results in poor code
for architectures lacking the feature.
Closes #7287.
Diffstat (limited to 'numpy/distutils/intelccompiler.py')
-rw-r--r-- | numpy/distutils/intelccompiler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/distutils/intelccompiler.py b/numpy/distutils/intelccompiler.py index 20c6d2ba4..ee089dbae 100644 --- a/numpy/distutils/intelccompiler.py +++ b/numpy/distutils/intelccompiler.py @@ -54,7 +54,7 @@ class IntelEM64TCCompiler(UnixCCompiler): def __init__(self, verbose=0, dry_run=0, force=0): UnixCCompiler.__init__(self, verbose, dry_run, force) self.cc_exe = ('icc -m64 -fPIC -fp-model strict -O3 ' - '-fomit-frame-pointer -openmp -xSSE4.2') + '-fomit-frame-pointer -openmp') compiler = self.cc_exe if platform.system() == 'Darwin': shared_flag = '-Wl,-undefined,dynamic_lookup' @@ -88,7 +88,7 @@ if platform.system() == 'Windows': self.lib = self.find_exe('xilib') self.linker = self.find_exe('xilink') self.compile_options = ['/nologo', '/O3', '/MD', '/W3', - '/Qstd=c99', '/QaxSSE4.2'] + '/Qstd=c99'] self.compile_options_debug = ['/nologo', '/Od', '/MDd', '/W3', '/Qstd=c99', '/Z7', '/D_DEBUG'] |