Date: Mon, 18 Aug 2014 04:19:46 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r365265 - head Message-ID: <201408180419.s7I4Jk4F028820@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Mon Aug 18 04:19:46 2014 New Revision: 365265 URL: http://svnweb.freebsd.org/changeset/ports/365265 QAT: https://qat.redports.org/buildarchive/r365265/ Log: Makefile: Default INDEX_JOBS value to kern.smp.cpus INDEX_JOBS currently defaults to 2 for the make index target. MAKE_JOBS_NUMBER in bsd.port.mk currently uses kern.smp.cpus to select a default. Modify INDEX_JOBS to match. Nominal and repeatable performance improvements of ~20-30% were observed. CR: D381 Reviewed by: swills, bdrewery Approved by: portmgr Modified: head/Makefile Modified: head/Makefile ============================================================================== --- head/Makefile Mon Aug 18 00:28:54 2014 (r365264) +++ head/Makefile Mon Aug 18 04:19:46 2014 (r365265) @@ -82,7 +82,10 @@ ${INDEXDIR}/${INDEXFILE}.bz2: .PHONY MASTER_SITE_INDEX?= http://www.FreeBSD.org/ports/ SETENV?= /usr/bin/env FETCHINDEX?= ${SETENV} ${FETCH_ENV} fetch -am -o -INDEX_JOBS?= 2 + +.if !defined(INDEX_JOBS) +INDEX_JOBS!= ${SYSCTL} -n kern.smp.cpus +.endif .if !defined(INDEX_VERBOSE) INDEX_ECHO_MSG= true
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408180419.s7I4Jk4F028820>