From patchwork Fri Jun 8 16:04:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 138061 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1062572lji; Fri, 8 Jun 2018 09:15:36 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI68XPm3MXpWogdp2UEfFHsdHO40S4JxtwCyOvk/+sK5tiZAKl0yM8gXlXe0DS5BUOCishB X-Received: by 2002:a0c:9526:: with SMTP id l35-v6mr6181835qvl.125.1528474536143; Fri, 08 Jun 2018 09:15:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528474536; cv=none; d=google.com; s=arc-20160816; b=uzFEZLuIp763nI4l1uyyYcbfE1xYRS4E+3fuM6dPwv+WorIePUAqGptPToMopUu4CX lBVXciDPW9J71lRbDbD14mSxx3u2EOZsxZ05cei3nphtdtKGyXuSeK+YptsmCEfwAo8b kTZU7uZ5ytaiAmYY/bJdD5jNh2HEp8ZDd5tQzH1qiOJ/rh0aQ8uupWAw/yWvKcC1LH6W 1jCAVQOqbd2Jl/D53/LuYfR67joK9eXZEcyip9g5AGLCt+bPq3b2d+2UkZwJKl81DLBz W6l4lwvlCBstMge4f0kJzxHlpHglcroDyoVID1EBs2/dTO2qPNCPToeb7l4EL6KpNJR6 hwPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=8VWNhD8DyiwKY8eyI5BParcmtpnF6kvHu2m8a/DvulM=; b=hrh+0YBXR7nL7kgU0FpF+k6G62F35k+LDJpdGJ/cZK5nmSselgpVAGV43xa7Fst5bl R84YL760PryuYDb0rBs/05Ha75MoSjzwaI9/KIPHjLP9B1UeKAaCfJM+34GYVGQGkmY9 Fga7fuEUWrZo2shExCFjP7/IO2yofVb5Wrz+RKlbxzAGWdo/JzwHBnqT6PgyIAtr0tFu f2P3yLggFCR7aKRzunQ127Nf7Byhcx+jy2RLBE0W/QPkQ5rijthu0BKP9/0LgXmum/9m skW7vFYmFMIUo4CH/mkMJcoIuhABUCghQFySbcUrDh4YYZu29eO4zQbv8bFziPvnZlXm WdDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=CAqy7O6Y; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id p30-v6si2358512qvc.285.2018.06.08.09.15.35 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 08 Jun 2018 09:15:36 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=CAqy7O6Y; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:36920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRK35-00019F-Kd for patch@linaro.org; Fri, 08 Jun 2018 12:15:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRJsV-0008FM-3O for qemu-devel@nongnu.org; Fri, 08 Jun 2018 12:04:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRJsR-0002su-SB for qemu-devel@nongnu.org; Fri, 08 Jun 2018 12:04:39 -0400 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:36996) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fRJsR-0002s4-Lz for qemu-devel@nongnu.org; Fri, 08 Jun 2018 12:04:35 -0400 Received: by mail-wm0-x241.google.com with SMTP id r125-v6so4679547wmg.2 for ; Fri, 08 Jun 2018 09:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8VWNhD8DyiwKY8eyI5BParcmtpnF6kvHu2m8a/DvulM=; b=CAqy7O6YsD8u0QhOk0jcue9ksoFLrOC/xDb6ZUOodPvb7mkvnQgqwHOsBBVvCSmkcD gT7xFUfPc8mVLDlexj1KpgnOvQ9vSuDqH2nXxcpWLqprJ/+QjZDl7IH0VauwCNAgErpH k/OkH+ZUx+Yv85Z7lrwpj16clffbBcSIynMVs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8VWNhD8DyiwKY8eyI5BParcmtpnF6kvHu2m8a/DvulM=; b=RPbfbhZF3VDoBtV1hMZuMsfkbG+Zl2jAP1hO9iyMG9H4yeLRDdKq9PONNSszPsB8Wo T4ogOwZeqLIuwnWnSuCeDPR61is/SDk7zuySEoHDJeP4Z5dzKqn36sG9XX1mnmE9pwCT Hy2SpKh1b44Yin7JOsbrOpYMphzY/sezLNh2V0j4z2OEWev/cER4kwUz7pFHjx22Rw8g qyJLBVDsKKjximQ502+/BP03rAPAzHfp4R9+NIck4FhT7AqkU1QpNhdneBtefl9DbxyL PclAD5igust/jKR5iN1C3fLynQIlXQo/xFFU5nMRTW9fyVZVJRDwYrrZd57/iOYd2wJo xfNQ== X-Gm-Message-State: APt69E1KCR17QfOoGhHiEyDrJWMSL96jKQRNypS6Yd6hV65I3axNx778 b+2mc+vbsaI3SVGKuhbT3DRixQ== X-Received: by 2002:a1c:630a:: with SMTP id x10-v6mr2190653wmb.93.1528473874568; Fri, 08 Jun 2018 09:04:34 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 76-v6sm6312890wmj.0.2018.06.08.09.04.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Jun 2018 09:04:33 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 949313E00D2; Fri, 8 Jun 2018 17:04:32 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de, pbonzini@redhat.com, stefanha@redhat.com, stefanb@linux.vnet.ibm.com, marcandre.lureau@redhat.com Date: Fri, 8 Jun 2018 17:04:29 +0100 Message-Id: <20180608160432.8734-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::241 Subject: [Qemu-devel] [RFC PATCH 0/3] Better docker dependency checking X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" 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