From Newsgroup: muc.lists.freebsd.ports
------=_Part_3814_1423599100.1770147696230
Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit
Hi,
I have a poudriere running with all CPUs in use (port is www/deno) instead of using the MAKE_JOBS_NUMBER limit. A fix would be to use a patch like this.
diff --git a/Mk/Uses/cargo.mk b/Mk/Uses/cargo.mk
index fa2a2837c285..0c7455900f2f 100644
--- a/Mk/Uses/cargo.mk
+++ b/Mk/Uses/cargo.mk
@@ -348,6 +348,7 @@ do-build:
--manifest-path ${CARGO_CARGOTOML} \
--verbose \
--verbose \
+ --jobs ${MAKE_JOBS_NUMBER} \
${CARGO_BUILD_ARGS}
. endif
@@ -360,6 +361,7 @@ do-install:
--root "${STAGEDIR}${PREFIX}" \
--verbose \
--verbose \
+ --jobs ${MAKE_JOBS_NUMBER} \
${CARGO_INSTALL_ARGS}
. endfor
. endif
@@ -370,6 +372,7 @@ do-test:
--manifest-path ${CARGO_CARGOTOML} \
--verbose \
--verbose \
+ --jobs ${MAKE_JOBS_NUMBER} \
${CARGO_TEST_ARGS}
. endif
Any thoughts about this?
I can make a PR to try to get this in the tree.
Regards,
Ronald.
------=_Part_3814_1423599100.1770147696230
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<html><head></head><body>Hi,<br>
I have a poudriere running with all CPUs in use (port is www/deno) instead of using the MAKE_JOBS_NUMBER limit. A fix would be to use a patch like this.
<pre style=";white-space: pre-wrap;">diff --git a/Mk/Uses/cargo.mk b/Mk/Uses/cargo.mk
index fa2a2837c285..0c7455900f2f 100644
--- a/Mk/Uses/cargo.mk
+++ b/Mk/Uses/cargo.mk
@@ -348,6 +348,7 @@ do-build:
--manifest-path ${CARGO_CARGOTOML} \
--verbose \
--verbose \
+ --jobs ${MAKE_JOBS_NUMBER} \
${CARGO_BUILD_ARGS}
. endif
@@ -360,6 +361,7 @@ do-install:
--root "${STAGEDIR}${PREFIX}" \
--verbose \
--verbose \
+ --jobs ${MAKE_JOBS_NUMBER} \
${CARGO_INSTALL_ARGS}
. endfor
. endif
@@ -370,6 +372,7 @@ do-test:
--manifest-path ${CARGO_CARGOTOML} \
--verbose \
--verbose \
+ --jobs ${MAKE_JOBS_NUMBER} \
${CARGO_TEST_ARGS}
. endif</pre>
Any thoughts about this?<br>
I can make a PR to try to get this in the tree.<br>
Regards,<br>
Ronald.</body></html>
------=_Part_3814_1423599100.1770147696230--
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to
news-admin@muc.de
--- Synchronet 3.21b-Linux NewsLink 1.2