* [gentoo-dev] [PATCH] waf-utils.eclass: enable parallel install
@ 2023-01-28 19:25 Mike Gilbert
2023-01-30 21:59 ` Sam James
0 siblings, 1 reply; 2+ messages in thread
From: Mike Gilbert @ 2023-01-28 19:25 UTC (permalink / raw
To: gentoo-dev; +Cc: samba
This gives a nice speedup to net-fs/samba, which (re)links several
hundred files in its install phase.
Bug: https://bugs.gentoo.org/715542
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
---
eclass/waf-utils.eclass | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass
index 1be02bbea3c..e72676d0656 100644
--- a/eclass/waf-utils.eclass
+++ b/eclass/waf-utils.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: waf-utils.eclass
@@ -138,8 +138,9 @@ waf-utils_src_install() {
export PYTHONHASHSEED=1
- echo "\"${WAF_BINARY}\" --jobs=1 --destdir=\"${D}\" ${*} install"
- "${WAF_BINARY}" --jobs=1 --destdir="${D}" "${@}" install || die "Make install failed"
+ local jobs="--jobs=$(makeopts_jobs)"
+ echo "\"${WAF_BINARY}\" ${jobs} --destdir=\"${D}\" ${*} install"
+ "${WAF_BINARY}" ${jobs} --destdir="${D}" "${@}" install || die "Make install failed"
# Manual document installation
einstalldocs
--
2.39.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [gentoo-dev] [PATCH] waf-utils.eclass: enable parallel install
2023-01-28 19:25 [gentoo-dev] [PATCH] waf-utils.eclass: enable parallel install Mike Gilbert
@ 2023-01-30 21:59 ` Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2023-01-30 21:59 UTC (permalink / raw
To: gentoo-dev; +Cc: samba
[-- Attachment #1: Type: text/plain, Size: 415 bytes --]
> On 28 Jan 2023, at 19:25, Mike Gilbert <floppym@gentoo.org> wrote:
>
> This gives a nice speedup to net-fs/samba, which (re)links several
> hundred files in its install phase.
>
> Bug: https://bugs.gentoo.org/715542
> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
> ---
OK, let's try it. Bit reluctant because of some of the issues we've had before but
should be less of an issue in install.
[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 358 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-30 22:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-28 19:25 [gentoo-dev] [PATCH] waf-utils.eclass: enable parallel install Mike Gilbert
2023-01-30 21:59 ` Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox