commit ad2d49503b1242be501ab92832400ef344a6afae from: Russ Cox date: Fri Nov 16 05:03:24 2018 UTC INSTALL: set $NPROC on macOS My MacBook Pro has hw.ncpu=12, so set NPROC=12. Speeds up INSTALL dramatically. Should probably add similar code to other OSes. Also silence rio warning from earlier commit. commit - 16d00819899260085ee10949012b07bf1c203db6 commit + ad2d49503b1242be501ab92832400ef344a6afae blob - bfb7f657ca8e7d44bed6159962cb216c472b0532 blob + bfb0d5d7d7717382e82945fa074eb35ca0cb0f03 --- INSTALL +++ INSTALL @@ -104,6 +104,7 @@ if [ `uname` = SunOS ]; then fi if [ `uname` = Darwin ]; then + export NPROC=$(sysctl hw.ncpu | sed 's/hw.ncpu: //') # On Darwin, uname -m -p cannot be trusted. echo "* Running on Darwin: checking architecture..." rm -f ./a.out blob - 0d2f8721cf295504131ac7c1d7064e56deb5fe57 blob + 081ba0ef32d6676d8ed2aa6d521a12d46e883e91 --- dist/isum.awk +++ dist/isum.awk @@ -132,7 +132,7 @@ errors != 0 { next } -/(up to date|nothing to see|assuming it will be|loop not entered)/ { +/(up to date|nothing to see|assuming it will be|loop not entered|# WSYSTYPE)/ { next }