MantisBT - CMake
View Issue Details
0010895CMakeCMakepublic2010-06-25 13:462013-05-06 09:32
Rolf Eike Beer 
 
normalminoralways
closedfixed 
CMake-2-8 
CMake 2.8.11CMake 2.8.11 
0010895: Processor detection is very x86-specific
Lookin at Source/kwsys/SystemInformation.cxx the CPU detection code is very x86 specific. In case it's not such a CPU for example /proc/cpuinfo could be used to gather at least some of the information.

For example the family is an int (SystemInformationImplementation::ID::family) likely because that's the case on x86. Other vendors might have totally different schemes here.
/proc/cpuinfo on my Linux HP C3600 workstation:

processor : 0
cpu family : PA-RISC 2.0
cpu : PA8600 (PCX-W+)
cpu MHz : 552.000000
capabilities : os32 os64
model : 9000/785/C3600
model name : Allegro W+
hversion : 0x00005cf0
sversion : 0x00000481
I-cache : 512 KB
D-cache : 1024 KB (WB, direct mapped)
ITLB entries : 160
DTLB entries : 160 - shared with ITLB
bogomips : 1101.82
software id : 2001234816
No tags attached.
related to 0010037closed Kitware Robot SystemInformation.cxx is missing implementations for many functions on Win64 builds 
related to 0009825closed Zach Mullen FreeBSD may not have procfs. Causes CPU identification, etc. to fail to be determined properly. 
Issue History
2010-06-25 13:46Rolf Eike BeerNew Issue
2010-08-31 15:32David ColeNote Added: 0022030
2010-11-10 14:17David ColeAssigned To => David Cole
2010-11-10 14:17David ColeStatusnew => assigned
2010-11-10 14:17David ColeTarget Version => CMake 2.8.4
2010-11-10 14:22Sean McBrideNote Added: 0023147
2010-12-08 16:13David ColeRelationship addedrelated to 0010037
2010-12-08 16:13David ColeNote Added: 0023822
2011-01-05 14:32David ColeNote Added: 0024432
2011-01-05 14:32David ColeTarget VersionCMake 2.8.4 =>
2011-01-18 14:37David ColeRelationship addedrelated to 0009825
2011-02-09 14:26David ColeStatusassigned => backlog
2011-02-09 15:08David ColeAssigned ToDavid Cole =>
2012-12-19 16:51Rolf Eike BeerNote Added: 0031928
2012-12-19 16:51Rolf Eike BeerStatusbacklog => resolved
2012-12-19 16:51Rolf Eike BeerResolutionopen => fixed
2012-12-19 16:51Rolf Eike BeerFixed in Version => CMake 2.8.11
2012-12-19 16:51Rolf Eike BeerTarget Version => CMake 2.8.11
2013-05-06 09:32Robert MaynardNote Added: 0032990
2013-05-06 09:32Robert MaynardStatusresolved => closed

Notes
(0022030)
David Cole   
2010-08-31 15:32   
We will not be addressing this for the upcoming CMake 2.8.3 release.
(0023147)
Sean McBride   
2010-11-10 14:22   
Our RogueResearch3 dashboard is a PPC G5, which may be useful when testing any fix for this issue...
(0023822)
David Cole   
2010-12-08 16:13   
Might this one be of use here ? http://www.open-mpi.org/projects/hwloc [^]
(0024432)
David Cole   
2011-01-05 14:32   
Unsetting the target version field. Not enough time left to address this issue before the 2.8.4 release. Deferred.
(0031928)
Rolf Eike Beer   
2012-12-19 16:51   
This is improved in KWSys, at least my HP machines are now much better recognized.

Sean, if you can get that G5 to report to KWSys dashboard regularly I can try to improve that, too.
(0032990)
Robert Maynard   
2013-05-06 09:32   
Closing resolved issues that have not been updated in more than 4 months.