[cmake-developers] Fixing ProcessorCount.cmake
Bill Hoffman
bill.hoffman at kitware.com
Mon Nov 8 14:28:19 EST 2010
On 11/8/2010 1:55 PM, Rolf Eike Beer wrote:
> Am Montag, 8. November 2010 schrieb David Cole:
>> Hi Rolf,
>>
>> Can you update to a CMake based on 'next' and try the commit I made this
>> morning on a QNX machine? (based on your patch, thank you for that...)
>
> Still needs some tweak, as the output is:
>
> getconf: Can't find _NPROCESSORS_ONLN
> ProcessorCount: using getconf '/usr/bin/getconf'
> ProcessorCount: using pidin '/bin/pidin'
> processor_count='1'
>
> Patch attached.
>
> Eike
I wonder if we could create a test for this that called the
SystemInformation class and compared its results with this script. I
bet it would fix bugs in both the script and SystemInformation.
-Bill
More information about the cmake-developers
mailing list