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.352

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-1748841203111.local
GetFullyQualifiedDomainName: Mac-1748841203111.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: 3293 MB
GetHostMemoryTotal(): 7340032 KiB
GetHostMemoryAvailable("KWSHL"): 7340032 KiB
GetProcMemoryAvailable("KWSHL", "KWSPL"): 7340032 KiB
GetHostMemoryUsed(): 3504320 KiB
GetProcMemoryUsed(): 2288 KiB
GetLoadAverage: 6.45654
CPU feature 15
CPU feature 16
CPU feature 17
CPU feature 23
Program Stack:
0x102d63024 : cmsys::SystemInformationImplementation::GetProgramStack(int, int) [(cmsysTestsCxx) ???:-1]
0x102d62fa4 : cmsys::SystemInformation::GetProgramStack(int, int) [(cmsysTestsCxx) ???:-1]
0x102d343c8 : testSystemInformation(int, char**) [(cmsysTestsCxx) ???:-1]
0x102d1c7a0 : main [(cmsysTestsCxx) ???:-1]
0x19fbfeb98 : start [(dyld) ???:-1]


'
tsi_err=''

Status: passed
Loading...