[oe-commits] Richard Purdie : lib/oe/sstatesig.py: Exclude subversion-native from sstate checksums

git at git.openembedded.org git at git.openembedded.org
Thu Jul 5 11:37:59 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 793ce6cd9aa632e0f13789c8293770a86085d28d
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=793ce6cd9aa632e0f13789c8293770a86085d28d

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Jul  5 11:31:38 2012 +0000

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.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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 1c25823..4cd1221 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





More information about the Openembedded-commits mailing list