From: Dan McGregor <danismostlikely@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-java][PATCH] openjdk-7, openjdk-8: use vardeps to fix shared state
Date: Thu, 7 Jul 2016 10:55:18 -0600 [thread overview]
Message-ID: <20160707165518.22440-1-danismostlikely@gmail.com> (raw)
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
reply other threads:[~2016-07-07 16:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160707165518.22440-1-danismostlikely@gmail.com \
--to=danismostlikely@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox