One minute
Bash alias: Build on all CPU cores
Linux:
alias makej="make -j $(cat /proc/cpuinfo | grep processor | wc | sed -r 's/^ +([0-9])+.*//')"
Mac:
alias makej="make -j $(sysctl hw.ncpu | awk '{print $2}')"
One minute
Linux:
alias makej="make -j $(cat /proc/cpuinfo | grep processor | wc | sed -r 's/^ +([0-9])+.*//')"
Mac:
alias makej="make -j $(sysctl hw.ncpu | awk '{print $2}')"