Message ID | 20180615194705.28019-54-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="DEq4qiN6"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 416s2C4G9Cz9s47 for <incoming@patchwork.ozlabs.org>; Sat, 16 Jun 2018 06:06:27 +1000 (AEST) Received: from localhost ([::1]:49079 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1fTuzJ-0000sj-3r for incoming@patchwork.ozlabs.org; Fri, 15 Jun 2018 16:06:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fTuoX-0000X2-7k for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:55:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fTuoT-0006Ro-0k for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:55:17 -0400 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:52294) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fTuoS-0006QL-Qa for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:55:12 -0400 Received: by mail-wm0-x241.google.com with SMTP id p126-v6so5226064wmb.2 for <qemu-devel@nongnu.org>; Fri, 15 Jun 2018 12:55:12 -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=ufQhKjgdbg3a8n0Vys6yHTSzTkyMPkWTfgf1izDw2TM=; b=DEq4qiN6nmF/kWOOBXfSeqJrCm/VZezTPc/I26w2XOS3Kg5OyzZ06hPds9rBJGuyLM uxHYok8l90sUw53TbAHElp2GeaiJVaGITemw7GvFk4IIDpOVMHODIKR56ZuXxhn7Cfxu Xeka/JKIr4EMCSxAmZJrb3hZ6VmP0xidPYE08= 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=ufQhKjgdbg3a8n0Vys6yHTSzTkyMPkWTfgf1izDw2TM=; b=YdAziegLFruSpNpC+1w9I91sRViKA3lLl3syJB0uSB0JDAez8XrWa2lcUvrpTFrmU6 NQdJEGYA/ir1e0E7Ru0rPzcViKv+9/TmTsnL/rqkdCX/KUoV1+88qTKOkK1XQmytpKri yV/j/pCanZ4Qiz7/HWo9+P9ZsmsDSFypQK/E6UoNFYsZh0vc2mN4R+jphV66WJ0r2TQ5 N+sC3r+oEMmun0qnqn+Y7fJ/WwM8jBZPZh6GJd/NM89vPw8T7OVTDm3blnHZqsR3WliP Vyf52baI/XVIwXIedGSeSUrUQ9s/bbllIhPbfuahT7Z3FtOjTf6RusEPd92Gc8yhSn5g N4Ng== X-Gm-Message-State: APt69E1483UUucWEB1AWdBcKBqAgETl0hc+mxFM6ZiN9Krqy/tCmZd23 Qvh+LuIFmOG3XSfg+iOGtewXmg== X-Google-Smtp-Source: ADUXVKL8qjma4F8wZ8VGNkbHaR5K6plAViGQ6mxYwb9BtAs4DtMHVOQTR0ttNo6bjtukS2jpwC7OsQ== X-Received: by 2002:a1c:7501:: with SMTP id o1-v6mr2288633wmc.133.1529092511604; Fri, 15 Jun 2018 12:55:11 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id n18-v6sm10090675wrj.58.2018.06.15.12.55.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Jun 2018 12:55:10 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 0D0DA3E050E; Fri, 15 Jun 2018 20:47:10 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> 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, peter.maydell@linaro.org Date: Fri, 15 Jun 2018 20:47:04 +0100 Message-Id: <20180615194705.28019-54-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180615194705.28019-1-alex.bennee@linaro.org> References: <20180615194705.28019-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 v7 53/54] tests/docker/Makefile.include: only force SID to NOCACHE if old X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
fix building of tests/tcg - last chance to review!
|
expand
|
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index c0f09505bb..193fcc79fd 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -75,8 +75,14 @@ docker-image-debian-win64-cross: docker-image-debian8-mxe # force a re-build of the base image if we ever need to build one of # its children. ifndef SKIP_DOCKER_BUILD +ifeq ($(HAVE_USER_DOCKER),y) +SID_AGE=$(shell $(DOCKER_SCRIPT) check --checktype=age --olderthan=60 --quiet qemu:debian-sid) +ifeq ($(SID_AGE),) +else docker-image-debian-sid: NOCACHE=1 endif +endif +endif docker-image-debian-alpha-cross: docker-image-debian-sid docker-image-debian-hppa-cross: docker-image-debian-sid
Now we can check the age of a docker image we can be a little more intelligent about re-building Sid images and only force NOCACHE if it is "old". Signed-off-by: Alex Bennée <alex.bennee@linaro.org> --- tests/docker/Makefile.include | 6 ++++++ 1 file changed, 6 insertions(+)