diff options
author | Darius Makovsky <traveltissues@protonmail.com> | 2019-11-05 14:33:08 +0000 |
---|---|---|
committer | Darius Makovsky <traveltissues@protonmail.com> | 2019-11-05 16:53:54 +0000 |
commit | 6545e89323cdab10332da5c4328a22d350a62965 (patch) | |
tree | 34e51c69dcadb042e4db62b176c97d6a891cf4ca | |
parent | a3fdc3163fce7d1a3c6d4e08a07271d90a605375 (diff) | |
download | buildstream-6545e89323cdab10332da5c4328a22d350a62965.tar.gz |
[WIP] skip tracking some sources
-rw-r--r-- | src/buildstream/element.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py index 9a0a71a97..82f510ff5 100644 --- a/src/buildstream/element.py +++ b/src/buildstream/element.py @@ -1358,6 +1358,9 @@ class Element(Plugin): def _track(self): refs = [] for index, source in enumerate(self.__sources): + if source.BST_KEY_REQUIRES_STAGE and not source.BST_REQUIRES_PREVIOUS_SOURCES_TRACK: + refs.append((source._unique_id, source._get_unique_key())) + continue old_ref = source.get_ref() new_ref = source._track(self.__sources[0:index]) refs.append((source._unique_id, new_ref)) |