diff options
author | Wes Lindauer <wesley.lindauer@gmail.com> | 2021-03-04 03:47:56 -0500 |
---|---|---|
committer | Richard Leitner <richard.leitner@skidata.com> | 2021-03-22 14:00:43 +0100 |
commit | db9a58bb71fffdb74eb9850978a643a98ff13323 (patch) | |
tree | 43d7a7c23570d76c47e64df4cad29610fd92ef43 /recipes-core | |
parent | 65ef6ce94225c92908092560a867311a6565eb57 (diff) | |
download | meta-java-db9a58bb71fffdb74eb9850978a643a98ff13323.tar.gz |
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 <wesley.lindauer@gmail.com>
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/ecj/libecj-bootstrap.inc | 1 |
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() { | |||
54 | 54 | ||
55 | fastjar -c -C build . -f ${JAR} | 55 | fastjar -c -C build . -f ${JAR} |
56 | } | 56 | } |
57 | do_compile[vardepsexclude] += "BB_NUMBER_THREADS" | ||
57 | 58 | ||
58 | do_install() { | 59 | do_install() { |
59 | oe_jarinstall ${JAR} ecj-bootstrap.jar | 60 | oe_jarinstall ${JAR} ecj-bootstrap.jar |