* [meta-java][PATCH] openjdk-7, openjdk-8: use vardeps to fix shared state
@ 2016-07-07 16:55 Dan McGregor
0 siblings, 0 replies; only message in thread
From: Dan McGregor @ 2016-07-07 16:55 UTC (permalink / raw)
To: openembedded-devel
From: Daniel McGregor <daniel.mcgregor@vecima.com>
Previously if PARALLEL_MAKE changed, so did the task signature
for do_configure. Use vardepsvalue so that the signature remains
constant.
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
---
recipes-core/openjdk/openjdk-7-common.inc | 1 +
recipes-core/openjdk/openjdk-8-common.inc | 2 ++
2 files changed, 3 insertions(+)
diff --git a/recipes-core/openjdk/openjdk-7-common.inc b/recipes-core/openjdk/openjdk-7-common.inc
index bb399b1..759b426 100644
--- a/recipes-core/openjdk/openjdk-7-common.inc
+++ b/recipes-core/openjdk/openjdk-7-common.inc
@@ -80,6 +80,7 @@ def get_jdk7_jobs(d):
# Whatever found in PARALLEL_MAKE was not suitable.
return "1"
+get_jdk7_jobs[vardepsexclude] += "OPENJDK_PARALLEL_MAKE"
JDK_JOBS = "${@get_jdk7_jobs(d)}"
EXTRA_OECONF = " \
diff --git a/recipes-core/openjdk/openjdk-8-common.inc b/recipes-core/openjdk/openjdk-8-common.inc
index dd3d397..74f686d 100644
--- a/recipes-core/openjdk/openjdk-8-common.inc
+++ b/recipes-core/openjdk/openjdk-8-common.inc
@@ -186,6 +186,8 @@ def get_jdk8_native_jobs(d):
# Whatever found in PARALLEL_MAKE was not suitable.
return "1"
+get_jdk8_native_jobs[vardepsexclude] += "OPENJDK8_PARALLEL_MAKE"
+
# A function that is needed in the Shark builds.
def get_llvm_configure_arch(d):
import bb;
--
2.9.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-07 16:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-07 16:55 [meta-java][PATCH] openjdk-7, openjdk-8: use vardeps to fix shared state Dan McGregor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox