On 1/8/21 1:10 AM, Richard Purdie wrote:
On Thu, 2021-01-07 at 18:59 +0800, Robert Yang wrote:
There are two problems to use cache-native now:
* ccache-native depends on cmake-native and zstd-native which makes it requires
    more time to build, so it might be a bottleneck for the build

* We need disable ccache-native for about 20 native recipes to resolve the
circular dependency.

It seems that there isn't a good way to fix the problem, or we have to disable
ccache for native recipes, only make other recipes (cross, target and nativesdk)
use ccache-native.

Host's ccache isn't reliable from the history.

Thanks for the analysis. I think I'd be inclined to disable ccache for
native recipes then. If anyone does want to use it for native recipes,
they can build a buildtools tarball of their own that contains it but I
don't want to default to that.

Yes, make sense, I will send a patch to disable ccache for native recipes and enable ccache-native for other recipes.

// Robert


Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#146497): 
https://lists.openembedded.org/g/openembedded-core/message/146497
Mute This Topic: https://lists.openembedded.org/mt/79473091/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to