Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2020 19:33:27 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r356698 - stable/11/usr.sbin/mergemaster
Message-ID:  <202001131933.00DJXRDM058694@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Mon Jan 13 19:33:26 2020
New Revision: 356698
URL: https://svnweb.freebsd.org/changeset/base/356698

Log:
  MFC r355379,r355381:
  
    r355379:
      Run make in parallel.
    r355381:
      Use full path to sysctl(8) since /sbin is not in PATH.

Modified:
  stable/11/usr.sbin/mergemaster/mergemaster.sh
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.sbin/mergemaster/mergemaster.sh
==============================================================================
--- stable/11/usr.sbin/mergemaster/mergemaster.sh	Mon Jan 13 19:30:18 2020	(r356697)
+++ stable/11/usr.sbin/mergemaster/mergemaster.sh	Mon Jan 13 19:33:26 2020	(r356698)
@@ -487,6 +487,7 @@ SOURCEDIR=$(realpath "$SOURCEDIR")
 
 # Setup make to use system files from SOURCEDIR
 MM_MAKE="make ${ARCHSTRING} -m ${SOURCEDIR}/share/mk -DNO_FILEMON"
+MM_MAKE="${MM_MAKE} -j$(/sbin/sysctl -n hw.ncpu)"
 
 # Check DESTDIR against the mergemaster mtree database to see what
 # files the user changed from the reference files.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001131933.00DJXRDM058694>