diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-05 11:31:38 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-05 12:36:45 +0100 |
commit | bf9a8ec7f2d2a1055c7eafa50d8af01ec1d4dc26 (patch) | |
tree | b0c40e3b19fb29e3dade10060db6debcdb1f674a /meta | |
parent | e3b3aaf4c7ddce12deb25efadfcb4e42f3a661df (diff) | |
download | poky-bf9a8ec7f2d2a1055c7eafa50d8af01ec1d4dc26.tar.gz |
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oe/sstatesig.py | 4 |
1 files changed, 4 insertions, 0 deletions
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): | |||
19 | # Quilt (patch application) changing isn't likely to affect anything | 19 | # Quilt (patch application) changing isn't likely to affect anything |
20 | if depname == "quilt-native" and recipename != "quilt-native": | 20 | if depname == "quilt-native" and recipename != "quilt-native": |
21 | return False | 21 | return False |
22 | # Subversion also isn't likely to affect anything | ||
23 | if depname == "subversion-native" and recipename != "subversion-native": | ||
24 | return False | ||
25 | |||
22 | # Don't change native/cross/nativesdk recipe dependencies any further | 26 | # Don't change native/cross/nativesdk recipe dependencies any further |
23 | if isNative(recipename) or isCross(recipename) or isNativeSDK(recipename): | 27 | if isNative(recipename) or isCross(recipename) or isNativeSDK(recipename): |
24 | return True | 28 | return True |