svn commit: r51080 - head/share/tools

Wolfram Schneider <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
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"}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.