From patchwork Thu Jan 12 13:16:57 2017 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: 91144 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1616168qgi; Thu, 12 Jan 2017 05:19:29 -0800 (PST) X-Received: by 10.237.51.37 with SMTP id u34mr13826469qtd.40.1484227169510; Thu, 12 Jan 2017 05:19:29 -0800 (PST) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id t73si6057967qke.263.2017.01.12.05.19.29 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 12 Jan 2017 05:19:29 -0800 (PST) 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; 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]:33949 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRfHt-0007ok-45 for patch@linaro.org; Thu, 12 Jan 2017 08:19:29 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRfFe-0006pT-Bc for qemu-devel@nongnu.org; Thu, 12 Jan 2017 08:17:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRfFW-0003Zm-IK for qemu-devel@nongnu.org; Thu, 12 Jan 2017 08:17:10 -0500 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:38392) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cRfFW-0003ZQ-CI for qemu-devel@nongnu.org; Thu, 12 Jan 2017 08:17:02 -0500 Received: by mail-wm0-x22e.google.com with SMTP id r144so19026596wme.1 for ; Thu, 12 Jan 2017 05:17:02 -0800 (PST) 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=11a/4c3l8AJgAu089UdwSbgQjcyqP0bv0e/gSUJibcU=; b=C6gixupWVIS1PDaLamAoRTGZYp6WDJmV+g8N/Je+TluIIiTLgCODlvFPxulxqYFO1r rOqGyBQE+uWUDaZ+7wQWLblKtW/FjvJWZJnj8w3e5ETF9PMKqzejuB3meJWZsKRD9pOd +ebIYl6qukYovdKvmc1/fzWU4z110Dn5WXisI= 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=11a/4c3l8AJgAu089UdwSbgQjcyqP0bv0e/gSUJibcU=; b=sN7kNeV2i6Zi6rVVGoJyVZwbqQk155VXLfrSMBiTfhCboZsNp9V953GfylAFGUGE5e 9bQqgLvH80jHeCswSFcXfOEiHD05hieBLkYOhLaZ1XAcFR2DRRkTDJBEQntv19im1/+h VRNlQdYMo4RwJZ3r3oOJeAb3S1e0+DOT5BqMuBMTKDYRQV54bG68xjqmgic0q8Qt8B8X zxffSqa4Rk69d5hZHw8XET4xPI2DN3mGh0CZPBlJB3WjTh7M4bxGqoGuGc9lmdLhPmMi bilGLJo6XcFueYTZ2GOG7B4jrqv4fRgz5LBIoFW7EDRvv4DgoLVA6YY0Aq50PXYfVQQV cLgA== X-Gm-Message-State: AIkVDXKUzYAdMuIns/8ttHnUR4/T/linzCEa+HVIfkCK/RVQ/QUrOugXFyN6Dh5sq7buUo/f X-Received: by 10.28.191.79 with SMTP id p76mr4521148wmf.21.1484227021287; Thu, 12 Jan 2017 05:17:01 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y127sm3148931wmg.12.2017.01.12.05.16.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Jan 2017 05:16:59 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id BAEBB3E36FC; Thu, 12 Jan 2017 13:16:58 +0000 (GMT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Thu, 12 Jan 2017 13:16:57 +0000 Message-Id: <20170112131658.19837-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170112131658.19837-1-alex.bennee@linaro.org> References: <20170112131658.19837-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22e Subject: [Qemu-devel] [PULL 1/2] travis: trim out most clang builds 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=20Benn=C3=A9e?= , qemu-devel@nongnu.org, stefanha@redhat.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: "Daniel P. Berrange" We test with both gcc and clang in order to detect cases where clang issues warnings that gcc misses. To achieve this though we don't need to build QEMU in multiple different configurations. Just a single clang-on-linux build will be sufficient, if we have an "all enabled" config. This cuts the number of build jobs from 21 to 16, reducing the load imposed on shared Travis CI infra. This will make it practical to enable jobs for other interesting & useful configurations without DOS'ing Travis to much. Signed-off-by: Daniel P. Berrange Reviewed-by: Stefan Hajnoczi Signed-off-by: Alex Bennée --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.11.0 diff --git a/.travis.yml b/.travis.yml index 9916178bf3..0706b9a1df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,6 @@ python: - "2.4" compiler: - gcc - - clang cache: ccache addons: apt: @@ -68,6 +67,9 @@ script: - make -j3 && ${TEST_CMD} matrix: include: + # Test with CLang for compile portability + - env: CONFIG="" + compiler: clang # gprof/gcov are GCC features - env: CONFIG="--enable-gprof --enable-gcov --disable-pie" compiler: gcc