svn commit: r51080 - head/share/tools
Wolfram Schneider
wosch at FreeBSD.org
Sat Oct 7 20:53:49 UTC 2017
Author: wosch
Date: Sat Oct 7 20:53:47 2017
New Revision: 51080
URL: https://svnweb.freebsd.org/changeset/doc/51080
Log:
by default run two processes per CPU
Modified:
head/share/tools/webupdate-regression
Modified: head/share/tools/webupdate-regression
==============================================================================
--- head/share/tools/webupdate-regression Sat Oct 7 17:25:04 2017 (r51079)
+++ head/share/tools/webupdate-regression Sat Oct 7 20:53:47 2017 (r51080)
@@ -35,8 +35,11 @@
set -e
+# by default run two processes per CPU
+ncpu2=$(( $(sysctl -n hw.ncpu) * 2))
+
: ${NO_OBJ=YES}
-: ${make_opt=-j8}
+: ${make_opt=-j${ncpu2}}
: ${FREEBSD_DOC_GIT_REPO="$HOME/freebsd-doc"}
: ${FREEBSD_DOC_GIT_BRANCH=""}
: ${WEBUPDATE_FORMATS="html-split html"}
More information about the svn-doc-all
mailing list