4 ms·
make -j$(nproc) Just running make -j will use all available hardware threads, no need to specify that manually (unless your RAM/HW thread ratio is too low and
by pantalaimon 5y ago
make -j$(nproc)
Just running make -j will use all available hardware threads, no need to specify that manually (unless your RAM/HW thread ratio is too low and you are running out of memory if you spawn too many compiler instances)
- 5e92cb50239222b 5y agoFrom the GNU make manual: If the -j option is given without an argument, make will not limit the number of jobs that can run simultaneously. > will not limit the number of jobs