Skip to content

Commit

Permalink
Merge pull request numpy#7655 from charris/intel-compiler-flags
Browse files Browse the repository at this point in the history
BLD: Remove Intel compiler flag -xSSE4.2
  • Loading branch information
rgommers committed May 22, 2016
2 parents 6ce33a1 + d5e128c commit 25e3ebf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions numpy/distutils/fcompiler/intel.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def get_flags_opt(self): # Scipy test failures with -O2
return ['-openmp -fp-model strict -O1']

def get_flags_arch(self):
return ['-xSSE4.2']
return ['']

# Is there no difference in the version string between the above compilers
# and the Visual compilers?
Expand Down Expand Up @@ -205,7 +205,7 @@ class IntelEM64VisualFCompiler(IntelVisualFCompiler):
version_match = simple_version_match(start='Intel\(R\).*?64,')

def get_flags_arch(self):
return ['/QaxSSE4.2']
return ['']


if __name__ == '__main__':
Expand Down
4 changes: 2 additions & 2 deletions numpy/distutils/intelccompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -88,7 +88,7 @@ def initialize(self, plat_name=None):
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']

Expand Down

0 comments on commit 25e3ebf

Please sign in to comment.