Received: by mail.netbsd.org (Postfix, from userid 605) id 03D0C84E36; Fri, 12 Mar 2021 08:39:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3E6D084DE3 for ; Fri, 12 Mar 2021 08:39:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id TY-tf8s6drp7 for ; Fri, 12 Mar 2021 08:39:10 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 86F3E84D0E for ; Fri, 12 Mar 2021 08:39:10 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 7595CFA95; Fri, 12 Mar 2021 08:39:10 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1615538350161720" MIME-Version: 1.0 Date: Fri, 12 Mar 2021 08:39:10 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/devel/meson To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20210312083910.7595CFA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1615538350161720 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Fri Mar 12 08:39:10 UTC 2021 Modified Files: pkgsrc/devel/meson: build.mk Log Message: Honour MAKE_JOBS in install and test stages. from Paul Ripke via tech-pkg. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/meson/build.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1615538350161720 Content-Disposition: inline Content-Length: 1077 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/meson/build.mk diff -u pkgsrc/devel/meson/build.mk:1.6 pkgsrc/devel/meson/build.mk:1.7 --- pkgsrc/devel/meson/build.mk:1.6 Fri Dec 4 18:23:05 2020 +++ pkgsrc/devel/meson/build.mk Fri Mar 12 08:39:10 2021 @@ -1,4 +1,4 @@ -# $NetBSD: build.mk,v 1.6 2020/12/04 18:23:05 nia Exp $ +# $NetBSD: build.mk,v 1.7 2021/03/12 08:39:10 nia Exp $ BUILD_DEPENDS+= meson-[0-9]*:../../devel/meson @@ -38,13 +38,15 @@ meson-install: if [ -f ${WRKSRC}/meson_post_install.py ]; then \ ${CHMOD} +x ${WRKSRC}/meson_post_install.py; \ fi - cd ${WRKSRC} && cd ${d} && ${SETENV} ${INSTALL_ENV} ${MAKE_ENV} ninja -C output install + cd ${WRKSRC} && cd ${d} && ${SETENV} ${INSTALL_ENV} ${MAKE_ENV} \ + ninja -j ${_MAKE_JOBS_N:U1} -C output install .endfor do-test: meson-test meson-test: .for d in ${TEST_DIRS} - cd ${WRKSRC} && cd ${d} && ${SETENV} ${TEST_ENV} ninja -C output test + cd ${WRKSRC} && cd ${d} && ${SETENV} ${TEST_ENV} \ + ninja -j ${_MAKE_JOBS_N:U1} -C output test .endfor .include "../../lang/python/application.mk" --_----------=_1615538350161720--