[bitbake-devel] Conditional DAG recalculation at build time

Christopher Larson kergoth at gmail.com
Thu Apr 5 16:09:37 UTC 2018


Afaik Bitbake does not currently have that capability. It's a feature I've
wanted to add for a long time, but it hasn't been a priority for us up to
now. I believe patches to add such a feature would be welcomed. I'd suggest
opening a bug in bugzilla for tracking potential future development of such
a feature.

On Mon, Apr 2, 2018 at 3:23 PM Daniel Levin <dendy.ua at gmail.com> wrote:

> In short: does bitbake support dependency graph recalculation at build
> time?
>
> I am looking for a dependency resolution similar to BYPRODUCTS in CMake
> and restat in Ninja.
>
> In other words when task _after_ execution might tell that output did not
> actually change. So all dependencies of that target should not be updated.
> Even when initially they were treated as (potentially) to be updated.
>
> Usually in CMake that results in remaining task count decreased instantly
> during build time, because in fact they must not be running.
>
> I found documentation in bitbake about task _input_ checksum, which is
> used to evaluate whether task need to be executed.
> So I am looking for the similar checksum for the task _output_. And when
> task does not change that output checksum means that dependencies of that
> output does not need to be triggered.
>
> If this topic is well known and documented then could you please point me
> to the appropriate section in the documentation?
>
> Thanks,
> Daniel
> --
> _______________________________________________
> bitbake-devel mailing list
> bitbake-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/bitbake-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20180405/69d182b7/attachment-0002.html>


More information about the bitbake-devel mailing list