From patchwork Wed Jul 18 10:04:57 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: 142255 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp346594ljj; Wed, 18 Jul 2018 03:08:18 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfNeYpQNwIu65jWVagPBLqjJdzp4YoNQoJGh8a6n6RAJQryXK1p3IV1E9XyCgPwbLIWN9Im X-Received: by 2002:a37:d61b:: with SMTP id t27-v6mr4521083qki.244.1531908498120; Wed, 18 Jul 2018 03:08:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531908498; cv=none; d=google.com; s=arc-20160816; b=nV3/nMs5QNjovyoPeLwkBGy24OcujUGov3wF6u+MK9N4C95IsEvJrEucu1LrBUIriD lWl5PR3Qs0celVYYFGhdJM9FwZkfakoEpPNKTkWw/vUYVXp10BqLEH2FyLxganAK/vfG BGMDKJS4Lat1SeG48g5eOcoyrWEBdEwHO58AHXVAjSOHfdOf7C2dwxNKYxaHbEo1M7K2 fqxblt+5eEw+ObZJhhYpspas+RAvjf5PlhEBakMbciC0iT9i+FvhD2av3F51kPKEXnhe g1xK6xNYbvkibUn633UjmHt3KvuSPncYdTqAS/0m8KUyNjAhljcRpRPRWMMoicy5dCJ9 F7Ww== 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:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=G+nZmE+F8aAuNfGNgT6RGoIrTIUcQFwxF8CDhukBUXk=; b=aPHff50zocbsO805q+F8HfHh3w/RGTE4ubhXbhe566GYEU+iOkykJXdi2/xrdACbZm thefhCnHVF/Pct/mFXg8HAgkYcU4S6THU0BhYyh03ME2rcxHgyXNYECYzbs2tK/Nlt8J ZXN1+USqk8+CZmsc/LueiyY37UfzdXVlSvYQw1MBQfmhbi1egT7n9c1WASipI4fa/1D7 s72i8TK9Iy0Nx6y4axHm07wNm4t5gAokds7sfrRWXhlmwBzXBwI1YSCaU3SVqrCbAbb6 J6qtP3HQ0t5xmE2snnMwmK65hjVuhse1InANcxxXqOxoqTPfJrHOHqY5Tk6vLnQb6rYL g6ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=MVie75hk; 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 m60-v6si3808780qva.9.2018.07.18.03.08.17 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 18 Jul 2018 03:08:18 -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=MVie75hk; 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]:35669 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffjNZ-0004OL-J6 for patch@linaro.org; Wed, 18 Jul 2018 06:08:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffjKZ-00038K-HO for qemu-devel@nongnu.org; Wed, 18 Jul 2018 06:05:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffjKX-00011K-KW for qemu-devel@nongnu.org; Wed, 18 Jul 2018 06:05:11 -0400 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:33206) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ffjKX-00010a-DQ for qemu-devel@nongnu.org; Wed, 18 Jul 2018 06:05:09 -0400 Received: by mail-wm0-x241.google.com with SMTP id z6-v6so14663207wma.0 for ; Wed, 18 Jul 2018 03:05:09 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=G+nZmE+F8aAuNfGNgT6RGoIrTIUcQFwxF8CDhukBUXk=; b=MVie75hkYDtep/gB5jxazvO15hcn1VTYB7VCJv8mFFSXpMyA/ut3PJfllvTHvgIMYB LB+CnaT1GstJ2CJVQ/4vtOyVbbN8YGqx9g2IkhGQFsFExQVH2QOLTyh2RdunqK6mJnP/ 3XG8UI1r+c1aCtPfBfLOcZc4ekwqmqeH+ewYc= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=G+nZmE+F8aAuNfGNgT6RGoIrTIUcQFwxF8CDhukBUXk=; b=ggWynbN6CSyI1F2Kv2s5AqiTxUXK6RniIEzIPAB4QGJ5w9FEBu9bEdR0qfMi/+czky rhn44c9Z9BvomLi+E3ghQk/bZXcQhW9j99aWx/mnm80b/rybsMnCL2sjjmlhLatO01p7 Z05Jjv4dyF77y1S/A0QLBgQ2jgYA8QmqLqo0Vt1ETP0TdNw1vFd9uWXtgMUgQ+qs6n8m EbuqIIRs/Mi4AcQtZbvhN6lbGOxzDjBmPNaR1zmVECJXMEERloy9CCA4jiaDkmyn0ERJ 0bgcbFvA3ABuIKxGl8/A5435uGRe+xQhRtH/hFe9RCkodzTPDdAmXeEnEaWZ6B2dbyDi YMdg== X-Gm-Message-State: AOUpUlH755/wP+sZjxel6AcY42Cyi6cflX4bW4pCjck7gUdUKcV98lrU hVM0qTkGVk+jcm/mtxItz9jJag== X-Received: by 2002:a1c:14c3:: with SMTP id 186-v6mr1088184wmu.21.1531908308354; Wed, 18 Jul 2018 03:05:08 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id f18-v6sm3864536wrt.64.2018.07.18.03.05.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Jul 2018 03:05:07 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 59D4C3E04A5; Wed, 18 Jul 2018 11:05:05 +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 Date: Wed, 18 Jul 2018 11:04:57 +0100 Message-Id: <20180718100505.7546-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180718100505.7546-1-alex.bennee@linaro.org> References: <20180718100505.7546-1-alex.bennee@linaro.org> 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] [PATCH RFC 02/10] docker: change docker-image to docker-all-images target 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" We also evaluate this list later in the build rule after all decisions about what will and won't be built have been made. Signed-off-by: Alex Bennée --- tests/docker/Makefile.include | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) -- 2.17.1 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index c9e412f9d0..22adf6ac73 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -8,7 +8,6 @@ DOCKER_DEPRECATED_IMAGES := debian # we don't run tests on intermediate images (used as base by another image) DOCKER_PARTIAL_IMAGES := debian debian8 debian9 debian8-mxe debian-ports debian-sid debian-bootstrap DOCKER_IMAGES := $(filter-out $(DOCKER_DEPRECATED_IMAGES),$(sort $(notdir $(basename $(wildcard $(DOCKER_FILES_DIR)/*.docker))))) -DOCKER_TARGETS := $(patsubst %,docker-image-%,$(DOCKER_IMAGES)) # Use a global constant ccache directory to speed up repetitive builds DOCKER_CCACHE_DIR := $$HOME/.cache/qemu-docker-ccache @@ -34,8 +33,6 @@ $(DOCKER_SRC_COPY): docker-qemu-src: $(DOCKER_SRC_COPY) -docker-image: ${DOCKER_TARGETS} - # General rule for building docker images. If we are a sub-make # invoked with SKIP_DOCKER_BUILD we still check the image is upto date # though @@ -154,6 +151,10 @@ $(foreach i,$(filter-out $(DOCKER_PARTIAL_IMAGES),$(DOCKER_IMAGES) $(DOCKER_DEPR ) \ ) +# Expand a rule to build all useable images +DOCKER_TARGETS := $(patsubst %,docker-image-%,$(filter-out $(DOCKER_PARTIAL_IMAGES),$(DOCKER_IMAGES))) +docker-all-images: $(DOCKER_TARGETS) + docker: @echo 'Build QEMU and run tests inside Docker containers' @echo @@ -167,7 +168,7 @@ docker: @echo ' Note: "TEST" is one of the listed test name,' @echo ' or a script name under $$QEMU_SRC/tests/docker/;' @echo ' "IMAGE" is one of the listed container name."' - @echo ' docker-image: Build all images.' + @echo ' docker-all-images: Build all images.' @echo ' docker-image-IMAGE: Build image "IMAGE".' @echo ' docker-run: For manually running a "TEST" with "IMAGE"' @echo