Skip to content
Browse files

Handle typo (sse3 vs ssse3) in the cpu arch flags as found in /proc/c…

…puinfo for some linux kernels (at least 2.6.23).
  • Loading branch information...
1 parent 466fa4b commit 7081815127bdc70c02da977103d6794a35e164b8 @cournape cournape committed Mar 22, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 numpy/distutils/cpuinfo.py
View
2 numpy/distutils/cpuinfo.py
@@ -272,7 +272,7 @@ def _has_sse2(self):
return re.match(r'.*?\bsse2\b',self.info[0]['flags']) is not None
def _has_sse3(self):
- return re.match(r'.*?\bsse3\b',self.info[0]['flags']) is not None
+ return re.match(r'.*?\bsss?e3\b',self.info[0]['flags']) is not None
def _has_3dnow(self):
return re.match(r'.*?\b3dnow\b',self.info[0]['flags']) is not None

0 comments on commit 7081815

Please sign in to comment.
Something went wrong with that request. Please try again.