MantisBT - CMake
View Issue Details
0011329CMakeCMakepublic2010-10-18 12:072011-05-02 14:45
Rolf Eike Beer 
David Cole 
normalminoralways
closedfixed 
CMake-2-8 
CMake 2.8.4CMake 2.8.4 
0011329: No system information on QNX
QNX tries to detect system information like processor count using /proc/cpuinfo. There is no such file on QNX. The attached patch get's at least some of the information from "pidin info" and "showmem -S"
Example output of "pidin info"

CPU:X86 Release:6.4.1 FreeMem:2485Mb/3062Mb BootTime:Oct 18 18:39:34 CEST 2010
Processes: 40, Threads: 102
Processor1: 131758 Pentium II Stepping 2 2947MHz FPU
Processor2: 131758 Pentium II Stepping 2 2940MHz FPU
Processor3: 131758 Pentium II Stepping 2 2946MHz FPU
Processor4: 131758 Pentium II Stepping 2 2945MHz FPU

Another host (virtual machine):

CPU:X86 Release:6.4.1 FreeMem:366Mb/511Mb BootTime:Oct 06 08:49:39 CEST 2010
Processes: 42, Threads: 104
Processor1: 686 Pentium II Stepping 3 2175MHz FPU
Processor2: 686 Pentium II Stepping 3 2279MHz FPU

Example output of "showmem -S":

System RAM: 3062M ( 3210869760)
Total Used: 569M ( 596734441)
 Used Private: 561M ( 588505577)
 Used Shared: 8036K ( 8228864)

Same in the VM:

System RAM: 511M ( 536453120)
Total Used: 143M ( 150553065)
 Used Private: 138M ( 145244649)
 Used Shared: 5184K ( 5308416)
No tags attached.
related to 0011302closed David Cole Provide a ProcessorCount.cmake module to determine the number of physical cores 
related to 0010037closed Kitware Robot SystemInformation.cxx is missing implementations for many functions on Win64 builds 
patch 0001-add-system-information-gathering-for-QNX.patch (3,466) 2010-10-18 12:07
https://public.kitware.com/Bug/file/3457/0001-add-system-information-gathering-for-QNX.patch
Issue History
2010-10-18 12:07Rolf Eike BeerNew Issue
2010-10-18 12:07Rolf Eike BeerFile Added: 0001-add-system-information-gathering-for-QNX.patch
2010-11-10 13:12David ColeAssigned To => David Cole
2010-11-10 13:12David ColeStatusnew => assigned
2010-11-10 13:12David ColeTarget Version => CMake 2.8.4
2010-12-08 16:18David ColeRelationship addedrelated to 0011302
2010-12-08 16:19David ColeNote Added: 0023823
2010-12-15 07:37David ColeRelationship addedrelated to 0010037
2011-01-05 15:45David ColeNote Added: 0024435
2011-01-05 15:46David ColeStatusassigned => resolved
2011-01-05 15:46David ColeFixed in Version => CMake 2.8.4
2011-01-05 15:46David ColeResolutionopen => fixed
2011-05-02 14:45David ColeNote Added: 0026312
2011-05-02 14:45David ColeStatusresolved => closed

Notes
(0023823)
David Cole   
2010-12-08 16:19   
Might this one be of use here ? http://www.open-mpi.org/projects/hwloc [^]
(0024435)
David Cole   
2011-01-05 15:45   
Attached patch applied:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=99ddf6a12d54854ae4f27eecd592fef5cb22640f [^]

Should be in the CMake 2.8.4 release, barring unforeseen problems...
(0026312)
David Cole   
2011-05-02 14:45   
Closing resolved issues that have not been updated in more than 3 months.