From bf9a8ec7f2d2a1055c7eafa50d8af01ec1d4dc26 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 5 Jul 2012 11:31:38 +0000 Subject: lib/oe/sstatesig.py: Exclude subversion-native from sstate checksums If we don't do this, target and cross recipes end up with different sstate checksums for shared work directory tasks which is bad in the case of gcc. It leads to multiple fetch/unpack tasks against the shared directory which ends up with build failures/races. (From OE-Core rev: 793ce6cd9aa632e0f13789c8293770a86085d28d) Signed-off-by: Richard Purdie --- meta/lib/oe/sstatesig.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/lib') diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index 1c25823f71..4cd1221686 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py @@ -19,6 +19,10 @@ def sstate_rundepfilter(siggen, fn, recipename, task, dep, depname, dataCache): # Quilt (patch application) changing isn't likely to affect anything if depname == "quilt-native" and recipename != "quilt-native": return False + # Subversion also isn't likely to affect anything + if depname == "subversion-native" and recipename != "subversion-native": + return False + # Don't change native/cross/nativesdk recipe dependencies any further if isNative(recipename) or isCross(recipename) or isNativeSDK(recipename): return True -- cgit v1.2.3-54-g00ecf