aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWes Lindauer <wesley.lindauer@gmail.com>2021-03-04 03:47:56 -0500
committerRichard Leitner <richard.leitner@skidata.com>2021-03-22 14:00:43 +0100
commitdb9a58bb71fffdb74eb9850978a643a98ff13323 (patch)
tree43d7a7c23570d76c47e64df4cad29610fd92ef43
parent65ef6ce94225c92908092560a867311a6565eb57 (diff)
downloadmeta-java-master-next.tar.gz
meta-java-master-next.tar.bz2
meta-java-master-next.zip
ecj: exclude BB_NUMBER_THREADS from sstate hashmaster-next
The sstate-cache for libecj-bootstrap is not shareable across multiple machines because the parallelisation configuration of Bitbake is being embedded into the sstate hash of libecj-bootstrap. Exclude BB_NUMBER_THREADS from the do_compile sstate hashing to avoid this issue. Commit message adapted from a5257d41f32812bc9426183cc8d2b6f07617b0d5. Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
-rw-r--r--recipes-core/ecj/libecj-bootstrap.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-core/ecj/libecj-bootstrap.inc b/recipes-core/ecj/libecj-bootstrap.inc
index 8f84fd0..2f3cc97 100644
--- a/recipes-core/ecj/libecj-bootstrap.inc
+++ b/recipes-core/ecj/libecj-bootstrap.inc
@@ -54,6 +54,7 @@ do_compile() {
fastjar -c -C build . -f ${JAR}
}
+do_compile[vardepsexclude] += "BB_NUMBER_THREADS"
do_install() {
oe_jarinstall ${JAR} ecj-bootstrap.jar