[SciPy-user] build issue on 64-bit Intel Core2 Duo

Nadav Horesh nadavh at visionsense.com
Sun Jan 21 03:17:09 CST 2007

The cpu identification in "site-packages/numpy/distutils/cpuinfo.py"
fails to recognizr Core2 cpu.

My solution: Modify  the  _is_Nocona method in cpuinfo.py to:

    def _is_Nocona(self):
#        return self.is_PentiumIV() and self.is_64bit()
        return re.match(r'Intel.*?Core.*\b',
                        self.info[0]['model name']) is not None

(The commented line is the old code that fails to recognize core 2)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20070121/640717c1/attachment-0001.html 

More information about the SciPy-user mailing list