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

Ed Schofield edschofield@gmail....
Wed Feb 7 09:53:35 CST 2007


On Wednesday 31 January 2007 02:09, Nadav Horesh wrote:
> >python numpy/distutils/cpuinfo.py:
> >
> >CPU information: getNCPUs=4 has_mmx has_sse has_sse2 is_64bit
> > is_Intel is_XEON is_Xeon is_i686
>
> Well,
>  Crossing our systems' info it looks to me that the best and straight
> forward way to identify Intel's imitation to amd64 arch is:
>
> def _is_Nocona(self):
>      return self.is_64bit() and self.is_Intel() and self.is_i686()
>
> Did not test it but it fits and looks logical.
>
>   Nadav.

On 1/31/07, Scott Ransom <sransom@nrao.edu> wrote:
>
> This works for me on a 64-bit Debian Core2 Duo system.
>
> eiger:~$ uname -a
> Linux eiger 2.6.18-3-amd64 #1 SMP Sun Dec 10 19:57:44 CET 2006 x86_64
> GNU/Linux
>
> eiger:~$ python cpuinfo.py
> CPU information: getNCPUs=2 has_mmx has_sse has_sse2 is_64bit is_Intel
> is_Nocona is_i686


I can also confirm that this works for Core2. I've checked it in to SVN
without the redundant is_Intel() check. I've also added a separate entry for
Core2 processors, which will be supported with an explicit -march flag in
GCC 4.3.

-- Ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20070207/7957996b/attachment.html 


More information about the SciPy-user mailing list