* [PATCH] waf.bbclass: Add compile progress
@ 2017-12-07 16:51 Joshua Watt
2017-12-07 16:55 ` Joshua Watt
2017-12-07 16:57 ` [PATCH v2] " Joshua Watt
0 siblings, 2 replies; 3+ messages in thread
From: Joshua Watt @ 2017-12-07 16:51 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
meta/classes/waf.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/waf.bbclass b/meta/classes/waf.bbclass
index c4698e910a4..f7d95fa050b 100644
--- a/meta/classes/waf.bbclass
+++ b/meta/classes/waf.bbclass
@@ -25,6 +25,7 @@ def get_waf_parallel_make(d):
return ""
+do_compile[progress] = "outof:^\[\s*(\d+)/\s*(\d+)\]\s+"
waf_do_configure() {
${S}/waf configure --prefix=${prefix} ${EXTRA_OECONF}
}
--
2.14.3
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] waf.bbclass: Add compile progress
2017-12-07 16:51 [PATCH] waf.bbclass: Add compile progress Joshua Watt
@ 2017-12-07 16:55 ` Joshua Watt
2017-12-07 16:57 ` [PATCH v2] " Joshua Watt
1 sibling, 0 replies; 3+ messages in thread
From: Joshua Watt @ 2017-12-07 16:55 UTC (permalink / raw)
To: openembedded-core
On Thu, 2017-12-07 at 10:51 -0600, Joshua Watt wrote:
> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
> ---
> meta/classes/waf.bbclass | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta/classes/waf.bbclass b/meta/classes/waf.bbclass
> index c4698e910a4..f7d95fa050b 100644
> --- a/meta/classes/waf.bbclass
> +++ b/meta/classes/waf.bbclass
> @@ -25,6 +25,7 @@ def get_waf_parallel_make(d):
>
> return ""
>
> +do_compile[progress] = "outof:^\[\s*(\d+)/\s*(\d+)\]\s+"
> waf_do_configure() {
Argh... should be above waf_do_compile... need to proof read better.
> ${S}/waf configure --prefix=${prefix} ${EXTRA_OECONF}
> }
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH v2] waf.bbclass: Add compile progress
2017-12-07 16:51 [PATCH] waf.bbclass: Add compile progress Joshua Watt
2017-12-07 16:55 ` Joshua Watt
@ 2017-12-07 16:57 ` Joshua Watt
1 sibling, 0 replies; 3+ messages in thread
From: Joshua Watt @ 2017-12-07 16:57 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
meta/classes/waf.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/waf.bbclass b/meta/classes/waf.bbclass
index c4698e910a4..e2ec542e49a 100644
--- a/meta/classes/waf.bbclass
+++ b/meta/classes/waf.bbclass
@@ -29,6 +29,7 @@ waf_do_configure() {
${S}/waf configure --prefix=${prefix} ${EXTRA_OECONF}
}
+do_compile[progress] = "outof:^\[\s*(\d+)/\s*(\d+)\]\s+"
waf_do_compile() {
${S}/waf build ${@get_waf_parallel_make(d)}
}
--
2.14.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-12-07 16:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-07 16:51 [PATCH] waf.bbclass: Add compile progress Joshua Watt
2017-12-07 16:55 ` Joshua Watt
2017-12-07 16:57 ` [PATCH v2] " Joshua Watt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox