qsgen2/include/common/numcpu.inc

5 lines
147 B
PHP

# Find the number of available cores and return variable NUMCPU
# You can use this i.e. to "make -j${NUMCPU}"
NUMCPU=$(getconf _NPROCESSORS_ONLN)