pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
*: pass make-jobs argument to rake
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Tue Nov 17 14:58:08 2026 +0100
Changeset: 15dd1f92ccf7a4e512d3b936692ddc30ea8333f0
Modified Files:
ap2-passenger/Makefile
mk/luarocks.mk
ruby-passenger/Makefile
Log Message:
*: pass make-jobs argument to rake
otherwise rake will use all CPUs
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=15dd1f92ccf7a4e512d3b936692ddc30ea8333f0
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ap2-passenger/Makefile | 2 +-
mk/luarocks.mk | 2 +-
ruby-passenger/Makefile | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diffs:
diff --git a/ap2-passenger/Makefile b/ap2-passenger/Makefile
index 7bcc3be5ea..585f2e3134 100644
--- a/ap2-passenger/Makefile
+++ b/ap2-passenger/Makefile
@@ -19,7 +19,7 @@ BUILDLINK_TRANSFORM+= rm:-D_XOPEN_SOURCE_EXTENDED=1
INSTALLATION_DIRS+= lib/httpd
do-build:
- cd ${WRKSRC}/build && ${SETENV} ${MAKE_ENV} ${RAKE} apache2
+ cd ${WRKSRC}/build && ${SETENV} ${MAKE_ENV} ${RAKE} -j ${_MAKE_JOBS_N} apache2
do-install:
${INSTALL_LIB} ${WRKSRC}/buildout/apache2/mod_passenger.so \
diff --git a/mk/luarocks.mk b/mk/luarocks.mk
index 5387da9b96..80ce948948 100644
--- a/mk/luarocks.mk
+++ b/mk/luarocks.mk
@@ -250,7 +250,7 @@ BUILD_TARGET?= gem
.PHONY: _gem-rake-build
_gem-rake-build:
- ${RUN} cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${RAKE} ${BUILD_TARGET}
+ ${RUN} cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${RAKE} -j ${_MAKE_JOBS_N} ${BUILD_TARGET}
${RUN} cd ${WRKSRC} && rm -f ${GEM_NAME}.gem
${RUN} cd ${WRKSRC} && find . -name ${GEM_NAME}.gem -print | \
while read file; do \
diff --git a/ruby-passenger/Makefile b/ruby-passenger/Makefile
index 938005c90e..a22b55efb8 100644
--- a/ruby-passenger/Makefile
+++ b/ruby-passenger/Makefile
@@ -14,11 +14,11 @@ INSTALL_ENV+= NATIVE_PACKAGING_METHOD=pkgsrc
INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
do-build:
- cd ${WRKSRC}/build && ${SETENV} ${MAKE_ENV} ${RAKE} \
+ cd ${WRKSRC}/build && ${SETENV} ${MAKE_ENV} ${RAKE} -j ${_MAKE_JOBS_N} \
agent nginx nginx:as_dynamic_module native_support
do-install:
- cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${MAKE_ENV} ${RAKE} fakeroot
+ cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${MAKE_ENV} ${RAKE} -j ${_MAKE_JOBS_N} fakeroot
${INSTALL_MAN} ${WRKSRC}/man/passenger-config.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKSRC}/man/passenger-memory-stats.8 \
Home |
Main Index |
Thread Index |
Old Index