pokeemerald icon indicating copy to clipboard operation
pokeemerald copied to clipboard

errata regarding nproc on macOS

Open nicholatian opened this issue 5 years ago • 1 comments

Like most Linux comforts, the nproc shell comamnd is provided by GNU coreutils, which is available for installation via Homebrew. This should be noted in addition to the sysctl -n hw.ncpu method provided by Darwin itself.

nicholatian avatar Oct 21 '20 17:10 nicholatian

nproc 2>/dev/null || echo 8 would solve the issue for those that don't have it installed.

aaaaaa123456789 avatar Jan 18 '21 06:01 aaaaaa123456789