[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5552/8267] sstate: Skip glibc do_stash_locale and gcc do_gcc_stash_builddir tasks
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 5552/8267] sstate: Skip glibc do_stash_locale and gcc do_gcc_stash_builddir tasks
- Date: Sun, 17 Dec 2017 03:36:01 +0000 (UTC)
commit 34313c404738dce9e4732700e612cfb5a2d5ee58
Author: Richard Purdie <richard purdie linuxfoundation org>
Date: Wed Apr 5 15:37:12 2017 +0100
sstate: Skip glibc do_stash_locale and gcc do_gcc_stash_builddir tasks
We never need these tasks as dependencies of other sstate tasks since
they're only ever needed to build artefacts so we can always skip them
and save some time/space.
(From OE-Core rev: 246df3df4b7da4b75de0745938438124c2b1d4a5)
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/classes/sstate.bbclass | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index af58854..bc0ec54 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -915,6 +915,10 @@ def setscene_depvalid(task, taskdependees, notneeded, d, log=None):
if taskdependees[task][1] == "do_populate_lic":
return True
+ # stash_locale and gcc_stash_builddir are never needed as a dependency for built objects
+ if taskdependees[task][1] == "do_stash_locale" or taskdependees[task][1] == "do_gcc_stash_builddir":
+ return True
+
# We only need to trigger packagedata through direct dependencies
# but need to preserve packagedata on packagedata links
if taskdependees[task][1] == "do_packagedata":
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]