[Qemu-devel] [RFC PATCH 0/3] Better docker dependency checking

Alex Bennée posted 3 patches 5 years, 10 months ago
Failed in applying to current master (apply log)
tests/docker/Makefile.include | 25 ++++++++++++++-----------
tests/docker/docker.py        | 30 +++++++++++++++++++++++++++---
tests/tcg/Makefile.include    |  1 -
3 files changed, 41 insertions(+), 15 deletions(-)
[Qemu-devel] [RFC PATCH 0/3] Better docker dependency checking
Posted by Alex Bennée 5 years, 10 months ago
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