mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-01 03:11:08 -06:00
On Linux containers (tested with LXC and Docker) getconf returns the host CPU count. Use nproc with a higher priority if available to get the container's allocated CPUs instead of the non-accessible host count.
8.3 KiB
8.3 KiB