Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 May 2019 04:31:05 +0000 (UTC)
From:      Gordon Tetlow <gordon@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r348266 - user/cperciva/freebsd-update-build/scripts
Message-ID:  <201905250431.x4P4V5Dt056983@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gordon
Date: Sat May 25 04:31:04 2019
New Revision: 348266
URL: https://svnweb.freebsd.org/changeset/base/348266

Log:
  Add limit for XZ_THREADS to the buildworld invocation.
  
  This is needed for high core count machines on i386. The auto detect
  was exhausting the address space in i386.

Modified:
  user/cperciva/freebsd-update-build/scripts/build.subr

Modified: user/cperciva/freebsd-update-build/scripts/build.subr
==============================================================================
--- user/cperciva/freebsd-update-build/scripts/build.subr	Sat May 25 04:23:13 2019	(r348265)
+++ user/cperciva/freebsd-update-build/scripts/build.subr	Sat May 25 04:31:04 2019	(r348266)
@@ -470,6 +470,7 @@ buildworld () {
 	    /usr/bin/env -i PATH=${PATH} RELP=${RELP}			\
 		JFLAG=${JFLAG}						\
 		BRANCH_OVERRIDE=$2					\
+		XZ_THREADS=16						\
 		TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH}		\
 	    /bin/sh -e <<-"EOF" 2>&1 >${WORKDIR}/$1-build.log
 		# Function for logging what we're doing



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