mayingzhen / nvidia-texture-tools

Automatically exported from code.google.com/p/nvidia-texture-tools
Other
0 stars 0 forks source link

DetermineProcessor.cmake returns incorrect values #140

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
DetermineProcessor.cmake calls "uname -p". On a 64-bit Gentoo system, this 
returns "Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz". On a 32-bit Ubuntu 
8.04, this returns "unknown".

"uname -m" seems much more useful: on the Gentoo system it returns "x86_64", on 
the Ubuntu it returns "i686".

Original issue reported on code.google.com by exc...@gmail.com on 8 Oct 2010 at 10:30

GoogleCodeExporter commented 8 years ago
The script first tries with "uname -p" and if that returns "unknown" uses 
"uname -m" instead, but I guess the short machine name is much more useful for 
use in scripts, so I'll change that to use -m by default. Thanks!

Original comment by cast...@gmail.com on 3 Nov 2010 at 6:32

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r1177.

Original comment by cast...@gmail.com on 3 Nov 2010 at 6:33