From db9a58bb71fffdb74eb9850978a643a98ff13323 Mon Sep 17 00:00:00 2001 From: Wes Lindauer Date: Thu, 4 Mar 2021 03:47:56 -0500 Subject: ecj: exclude BB_NUMBER_THREADS from sstate hash 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 Signed-off-by: Richard Leitner --- recipes-core/ecj/libecj-bootstrap.inc | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-54-g00ecf