diff options
author | Jürg Billeter <j@bitron.ch> | 2019-07-24 15:18:48 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-08-20 07:41:23 +0200 |
commit | 63a219791e1bf2a5e2031bfd5849ffc28a8e8e26 (patch) | |
tree | 220fda047cc865e0932361ab91794a0f5e1a4d3e | |
parent | be1e235b429ce49e0982398f87848b8cfb4d7be7 (diff) | |
download | buildstream-63a219791e1bf2a5e2031bfd5849ffc28a8e8e26.tar.gz |
element.py: Remove call to mark_required_elements()
This is no longer necessary with buildbox-casd as required blobs will be
protected based on timestamps.
-rw-r--r-- | src/buildstream/element.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py index ca573bee1..bd5ca14e7 100644 --- a/src/buildstream/element.py +++ b/src/buildstream/element.py @@ -1566,21 +1566,6 @@ class Element(Plugin): workspace.clear_running_files() self._get_context().get_workspaces().save_config() - # This element will have already been marked as - # required, but we bump the atime again, in case - # we did not know the cache key until now. - # - # FIXME: This is not exactly correct, we should be - # doing this at the time which we have discovered - # a new cache key, this just happens to be the - # last place where that can happen. - # - # Ultimately, we should be refactoring - # Element._update_state() such that we know - # when a cache key is actually discovered. - # - self.__artifacts.mark_required_elements([self]) - # _assemble(): # # Internal method for running the entire build phase. |