mbox series

[RFC,0/3] Better docker dependency checking

Message ID 20180608160432.8734-1-alex.bennee@linaro.org
Headers show
Series Better docker dependency checking | expand

Message

Alex Bennée June 8, 2018, 4:04 p.m. UTC
Hi,

These patches apply on top of my tcg/testing patch series and attempt
to make the dependancy checking a bit smarter within the confines of
what Make can achieve. The basic idea is although the debian-sid-image
will always rebuild by making it a conditional dependancy we can only
trigger this when we need to rebuild the target image. Together with
the top-level initial build this mean you can now run make check-tcg
with high -j's without issue.

The first patch in the series fixes the checksum code as it was broken
anyway. Currently we don't properly handle extra_files and executables
but this should be fairly easy to add. I've not done it at the moment
because we don't use these exotic builds in any of the default
targets.

Alex Bennée (3):
  docker: docker.py don't conflate checksums for extra_files
  dcoker: docker.py add check sub-command
  docker: remove SUBMAKE_NOCACHE_HACK for debian-sid based images

 tests/docker/Makefile.include | 25 ++++++++++++++-----------
 tests/docker/docker.py        | 30 +++++++++++++++++++++++++++---
 tests/tcg/Makefile.include    |  1 -
 3 files changed, 41 insertions(+), 15 deletions(-)

-- 
2.17.1