* [meta-java][PATCH] openjdk-8-cross.inc: exclude BB_NUMBER_THREADS from sstate hash
@ 2021-01-29 9:19 Michael Ho
2021-02-05 7:47 ` [oe] " Richard Leitner
0 siblings, 1 reply; 2+ messages in thread
From: Michael Ho @ 2021-01-29 9:19 UTC (permalink / raw)
To: openembedded-devel; +Cc: Michael Ho
From: Michael Ho <Michael.Ho@bmw.de>
The sstate-cache for openjre is not shareable across multiple machines
because the parallelisation configuration of Bitbake is being embedded
into the sstate hash of openjre.
Exclude BB_NUMBER_THREADS from the do_install sstate hashing to avoid
this issue.
Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
---
recipes-core/openjdk/openjdk-8-cross.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/recipes-core/openjdk/openjdk-8-cross.inc b/recipes-core/openjdk/openjdk-8-cross.inc
index 9f68d08..25d971f 100644
--- a/recipes-core/openjdk/openjdk-8-cross.inc
+++ b/recipes-core/openjdk/openjdk-8-cross.inc
@@ -99,6 +99,8 @@ do_install_append() {
fi
}
+do_install[vardepsexclude] += "BB_NUMBER_THREADS"
+
export MAKE_VERBOSE = "y"
export MFLAGS="${@jdk_make_options(d)} MAKE_VERBOSE=y QUIETLY= VERBOSE=-s LOG_LEVEL=trace STRIP_POLICY=no_strip"
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [oe] [meta-java][PATCH] openjdk-8-cross.inc: exclude BB_NUMBER_THREADS from sstate hash
2021-01-29 9:19 [meta-java][PATCH] openjdk-8-cross.inc: exclude BB_NUMBER_THREADS from sstate hash Michael Ho
@ 2021-02-05 7:47 ` Richard Leitner
0 siblings, 0 replies; 2+ messages in thread
From: Richard Leitner @ 2021-02-05 7:47 UTC (permalink / raw)
To: Michael Ho; +Cc: openembedded-devel
Hi Michael,
thanks for you patch!
I will review/test it in the comming days and give feedback!
regards;rl
On Fri, Jan 29, 2021 at 10:19:21AM +0100, Michael Ho wrote:
> From: Michael Ho <Michael.Ho@bmw.de>
>
> The sstate-cache for openjre is not shareable across multiple machines
> because the parallelisation configuration of Bitbake is being embedded
> into the sstate hash of openjre.
>
> Exclude BB_NUMBER_THREADS from the do_install sstate hashing to avoid
> this issue.
>
> Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
> ---
> recipes-core/openjdk/openjdk-8-cross.inc | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/recipes-core/openjdk/openjdk-8-cross.inc b/recipes-core/openjdk/openjdk-8-cross.inc
> index 9f68d08..25d971f 100644
> --- a/recipes-core/openjdk/openjdk-8-cross.inc
> +++ b/recipes-core/openjdk/openjdk-8-cross.inc
> @@ -99,6 +99,8 @@ do_install_append() {
> fi
> }
>
> +do_install[vardepsexclude] += "BB_NUMBER_THREADS"
> +
> export MAKE_VERBOSE = "y"
> export MFLAGS="${@jdk_make_options(d)} MAKE_VERBOSE=y QUIETLY= VERBOSE=-s LOG_LEVEL=trace STRIP_POLICY=no_strip"
>
> --
> 2.7.4
>
>
>
>
--
Richard Leitner
Hardware R&D / Senior Embedded Linux Engineer
SKIDATA
We change the world of welcoming people
SKIDATA GmbH
Untersbergstraße 40 | 5083 Grödig/Salzburg | Austria
[t] +43-6246-888-4245 | [m] +43-664-88616370
[e] richard.leitner@skidata.com | [w] www.skidata.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-05 7:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-29 9:19 [meta-java][PATCH] openjdk-8-cross.inc: exclude BB_NUMBER_THREADS from sstate hash Michael Ho
2021-02-05 7:47 ` [oe] " Richard Leitner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.