diff options
| author | Michael Ho <Michael.Ho@bmw.de> | 2021-01-29 10:19:21 +0100 |
|---|---|---|
| committer | Richard Leitner <richard.leitner@skidata.com> | 2021-02-18 12:25:00 +0100 |
| commit | a5257d41f32812bc9426183cc8d2b6f07617b0d5 (patch) | |
| tree | 02e4ba3b3a601135982cc1fea6d771e530098e1c | |
| parent | 6e84638d77ac921aac46649095bca5ddbde94d2a (diff) | |
| download | meta-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.inc | 2 |
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 | ||
| 102 | do_install[vardepsexclude] += "BB_NUMBER_THREADS" | ||
| 103 | |||
| 102 | export MAKE_VERBOSE = "y" | 104 | export MAKE_VERBOSE = "y" |
| 103 | export MFLAGS="${@jdk_make_options(d)} MAKE_VERBOSE=y QUIETLY= VERBOSE=-s LOG_LEVEL=trace STRIP_POLICY=no_strip" | 105 | export MFLAGS="${@jdk_make_options(d)} MAKE_VERBOSE=y QUIETLY= VERBOSE=-s LOG_LEVEL=trace STRIP_POLICY=no_strip" |
| 104 | 106 | ||
