summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Ho <Michael.Ho@bmw.de>2021-01-29 10:19:21 +0100
committerRichard Leitner <richard.leitner@skidata.com>2021-02-18 12:25:00 +0100
commita5257d41f32812bc9426183cc8d2b6f07617b0d5 (patch)
tree02e4ba3b3a601135982cc1fea6d771e530098e1c
parent6e84638d77ac921aac46649095bca5ddbde94d2a (diff)
downloadmeta-java-a5257d41f32812bc9426183cc8d2b6f07617b0d5.tar.gz
openjdk-8-cross.inc: exclude BB_NUMBER_THREADS from sstate hash
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> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
-rw-r--r--recipes-core/openjdk/openjdk-8-cross.inc2
1 files changed, 2 insertions, 0 deletions
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() {
99 fi 99 fi
100} 100}
101 101
102do_install[vardepsexclude] += "BB_NUMBER_THREADS"
103
102export MAKE_VERBOSE = "y" 104export MAKE_VERBOSE = "y"
103export MFLAGS="${@jdk_make_options(d)} MAKE_VERBOSE=y QUIETLY= VERBOSE=-s LOG_LEVEL=trace STRIP_POLICY=no_strip" 105export MFLAGS="${@jdk_make_options(d)} MAKE_VERBOSE=y QUIETLY= VERBOSE=-s LOG_LEVEL=trace STRIP_POLICY=no_strip"
104 106