From c3363544baaee4c88c29320bae5f72786d890475 Mon Sep 17 00:00:00 2001 From: David Cournapeau Date: Sun, 23 Mar 2008 06:17:53 +0000 Subject: mimic gcc driver detection for nocona cpu detection. --- numpy/distutils/cpuinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/distutils/cpuinfo.py') 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): -- cgit v1.2.1