Files
CMake/Modules/ProcessorCount.cmake
Sylvain Joubert f20eab9cdc ProcessorCount: Return the container CPU count instead of the host count
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.
2019-02-27 13:04:07 +01:00

8.3 KiB