From patchwork Wed Nov 9 12:11:56 2016 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: 81471 Delivered-To: patch@linaro.org Received: by 10.182.1.168 with SMTP id 8csp272382obn; Wed, 9 Nov 2016 04:14:06 -0800 (PST) X-Received: by 10.157.0.73 with SMTP id 67mr9133110ota.141.1478693646233; Wed, 09 Nov 2016 04:14:06 -0800 (PST) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id s8si22481882oih.35.2016.11.09.04.14.06 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 09 Nov 2016 04:14:06 -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 dis=NONE) header.from=linaro.org Received: from localhost ([::1]:39066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4RlV-0007xn-Kl for patch@linaro.org; Wed, 09 Nov 2016 07:14:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4Rjq-0007Qq-Jk for qemu-devel@nongnu.org; Wed, 09 Nov 2016 07:12:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4Rjl-00068G-Mc for qemu-devel@nongnu.org; Wed, 09 Nov 2016 07:12:22 -0500 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:35540) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c4Rjl-00067Z-Ft for qemu-devel@nongnu.org; Wed, 09 Nov 2016 07:12:17 -0500 Received: by mail-wm0-x22f.google.com with SMTP id a197so303160212wmd.0 for ; Wed, 09 Nov 2016 04:12:17 -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=iyAKKaZnAMmrJ7J5n/nCD6cbpHquAzfim2ZdQ1mv9lc=; b=QYx6Og9mpFp5JwhYZPuXeGkZ3kiFaJvdjKcrLWv8o4S0B9GQMetl7f5JJ1UtO7wDW5 FxoaFqDa1iBg4lm3cXRp8l47FruLcDpYhkVBm7PmO1h+KhXd3j0MhYoPaZics4g/vyU3 vZx94wq+IGF25Vbeg4lWmBh31M0RqlJW9ntEI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iyAKKaZnAMmrJ7J5n/nCD6cbpHquAzfim2ZdQ1mv9lc=; b=BfaValjPGNQitKpHpzfODEiyYDgAtPYQPLQ81eplimkEjWq+2Cv9X8GFjgaTSS38Jl U+026F1UlH43Tu4+N9By2SfwRkfEO/42nqPynaPz4s+nXs3iiDjwRttLNZepsGzCmk81 PnRtLVYDcRy12mDctXqx6amFQWMGvVd4qyEvnGEviEdOyxHkJKFVM+aiH5AypqIU6G3Z QfavYm/7x+i0gu17QnrPAnoVoGyYMiCkbg31Gf8Z+Rli7KLVRSKemmrnVvHhlPJN/d9K Kz1W+z0aue039EOh42/ZnyDv0zOmKDAKiKb/xhaGiJLI9G6UJRZmU+UHdDQ/Nhv5XoH5 7e2w== X-Gm-Message-State: ABUngvc9YvhNRrS7Qh0rN4xmBP5OmrNf28ATSBoi9pczJJStqcjsT+XBOZhDWVaelAYKafmk X-Received: by 10.194.15.37 with SMTP id u5mr14490424wjc.117.1478693536057; Wed, 09 Nov 2016 04:12:16 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id t186sm6558168wmt.22.2016.11.09.04.12.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Nov 2016 04:12:13 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 47BF93E023D; Wed, 9 Nov 2016 12:12:13 +0000 (GMT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: stefanha@redhat.com Date: Wed, 9 Nov 2016 12:11:56 +0000 Message-Id: <20161109121157.30815-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20161109121157.30815-1-alex.bennee@linaro.org> References: <20161109121157.30815-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::22f Subject: [Qemu-devel] [PATCH 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 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.10.1 diff --git a/.travis.yml b/.travis.yml index 9916178..0706b9a 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