diff options
author | David Cournapeau <cournape@gmail.com> | 2008-03-23 06:17:53 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-03-23 06:17:53 +0000 |
commit | c3363544baaee4c88c29320bae5f72786d890475 (patch) | |
tree | 59c9c985f22b982f8f0a3c203796f3762c227498 /numpy/distutils/cpuinfo.py | |
parent | c0c85e05ee4f4e3ee4ad38084f7443b58451a90a (diff) | |
download | numpy-c3363544baaee4c88c29320bae5f72786d890475.tar.gz |
mimic gcc driver detection for nocona cpu detection.
Diffstat (limited to 'numpy/distutils/cpuinfo.py')
-rw-r--r-- | numpy/distutils/cpuinfo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/cpuinfo.py b/numpy/distutils/cpuinfo.py index 68c2ca68c..5781cca3c 100644 --- a/numpy/distutils/cpuinfo.py +++ b/numpy/distutils/cpuinfo.py @@ -234,7 +234,7 @@ class LinuxCPUInfo(CPUInfoBase): return self.is_Intel() \ and (self.info[0]['cpu family'] == '6' \ or self.info[0]['cpu family'] == '15' ) \ - and self.has_sse3() \ + and (self.has_sse3() and not self.has_ssse3())\ and re.match(r'.*?\blm\b',self.info[0]['flags']) is not None def _is_Core2(self): |