[SciPy-user] build issue on 64-bit Intel Core2 Duo
Scott Ransom
sransom at nrao.edu
Sun Jan 21 09:27:42 EST 2007
Hi Nadav,
Yup. This seems to work. Everything compiles and the tests pass.
Thanks a bunch for the quick patch.
Scott
On Sun, Jan 21, 2007 at 11:17:09AM +0200, Nadav Horesh wrote:
> 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)
>
> Nadav.
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
--
--
Scott M. Ransom Address: NRAO
Phone: (434) 296-0320 520 Edgemont Rd.
email: sransom at nrao.edu Charlottesville, VA 22903 USA
GPG Fingerprint: 06A9 9553 78BE 16DB 407B FFCA 9BFA B6FF FFD3 2989
More information about the SciPy-User
mailing list