pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/meson



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.

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"



Home | Main Index | Thread Index | Old Index