CMake

CMake.ProcessorCount

command_line: /Users/runner/work/nightly-builds/nightly-builds/build/bin/cmake "-DKWSYS_TEST_EXE=/Users/runner/work/nightly-builds/nightly-builds/build/Source/kwsys/cmsysTestsCxx" "-P" "/Users/runner/work/nightly-builds/nightly-builds/build/Tests/CMakeTests/ProcessorCountTest.cmake"

working_directory: "./Tests/CMakeTests"

Processors: 1

Execution Time: 0.129

Completion Status: Completed

Environment: #CTEST_RESOURCE_GROUP_COUNT=

stdout:

### 1. This line should be the first line of text in the test output.
### 2. If there was output from this test before line #1, then the
### 3. ProcessorCount(...) function call is emitting output that it shouldn't...
processor_count='3'
system_info_processor_count='3'
processor count matches system information

CTEST_FULL_OUTPUT (Avoid ctest truncation of output)

tsi_out='CTEST_FULL_OUTPUT
GetOSName: macOS
GetOSIsLinux: 0
GetOSIsApple: 1
GetOSIsWindows: 0
GetHostname: Mac-1749013674528.local
GetFullyQualifiedDomainName: Mac-1749013674528.local
GetOSRelease: 15.5
GetOSVersion: 24F74
GetOSPlatform: arm64
Is64Bits: 1
GetVendorString: Apple
GetVendorID: Apple
GetTypeID: 0
GetFamilyID: 0
GetModelID: 0
GetExtendedProcessorName: Apple M1 (Virtual)
GetSteppingCode: 0
GetProcessorSerialNumber: 
GetProcessorCacheSize: 196608 KB
GetLogicalProcessorsPerPhysical: 3
GetProcessorClockFrequency: 0 MHz
GetNumberOfLogicalCPU: 3
GetNumberOfPhysicalCPU: 3
DoesCPUSupportCPUID: 0
GetProcessorAPICID: 0
GetTotalVirtualMemory: 0 MB
GetAvailableVirtualMemory: 0 MB
GetTotalPhysicalMemory: 7168 MB
GetAvailablePhysicalMemory: 3023 MB
GetHostMemoryTotal(): 7340032 KiB
GetHostMemoryAvailable("KWSHL"): 7340032 KiB
GetProcMemoryAvailable("KWSHL", "KWSPL"): 7340032 KiB
GetHostMemoryUsed(): 3702448 KiB
GetProcMemoryUsed(): 2256 KiB
GetLoadAverage: 5.19727
CPU feature 15
CPU feature 16
CPU feature 17
CPU feature 23
Program Stack:
0x1044e3024 : cmsys::SystemInformationImplementation::GetProgramStack(int, int) [(cmsysTestsCxx) ???:-1]
0x1044e2fa4 : cmsys::SystemInformation::GetProgramStack(int, int) [(cmsysTestsCxx) ???:-1]
0x1044b43c8 : testSystemInformation(int, char**) [(cmsysTestsCxx) ???:-1]
0x10449c7a0 : main [(cmsysTestsCxx) ???:-1]
0x18a41eb98 : start [(dyld) ???:-1]


'
tsi_err=''

Status: passed
Loading...