From: Richard Purdie Date: Tue, 15 Mar 2022 15:12:44 +0000 (+0000) Subject: sstate: Allow optimisation of do_create_spdx task dependencies X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~4752 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6723a045c3a46537bb76111f8306b5960e532522;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git sstate: Allow optimisation of do_create_spdx task dependencies do_create_spdx tasks don't need their dependencies so we can optimistion this as we do for some other tasks. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 163bdf0b5f7..1c0cae48938 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -1084,7 +1084,7 @@ def setscene_depvalid(task, taskdependees, notneeded, d, log=None): logit("Considering setscene task: %s" % (str(taskdependees[task])), log) - directtasks = ["do_populate_lic", "do_deploy_source_date_epoch", "do_shared_workdir", "do_stash_locale", "do_gcc_stash_builddir"] + directtasks = ["do_populate_lic", "do_deploy_source_date_epoch", "do_shared_workdir", "do_stash_locale", "do_gcc_stash_builddir", "do_create_spdx"] def isNativeCross(x): return x.endswith("-native") or "-cross-" in x or "-crosssdk" in x or x.endswith("-cross")