From patchwork Fri Jun 1 16:20:59 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: 137552 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1147268lji; Fri, 1 Jun 2018 09:24:29 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJSfj6j+KbLlPKGy5e57HX9fl7Z8w6C2GyDWY2tO+sh12eGSjSi5/t9YtfCpv3TboGyhXwr X-Received: by 2002:a37:140f:: with SMTP id e15-v6mr10825288qkh.117.1527870269787; Fri, 01 Jun 2018 09:24:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527870269; cv=none; d=google.com; s=arc-20160816; b=vXB7C7CkIgGFQs8n7njjW3pDqANz/USwsxpMeh/ZmtI47tzp4CiAJI9lex1lcWsPjv tZDiK10ESGrtgPyKsDSGRusukQ0BOAY8auEvqTQXq9sDgACdwsNK6pgtvFgNOF5ByBxM C2dYs4b1Hkk4hqFM/mOV2drWB9MOQgCbmcb/4XSXqGZNJqtRfhrG0r9WN2/JvjDfX7qf 9F51j00PUunhHCHuqm5yfdV7NDPbevcoVTEb4TeFA3FM5NC2fZKB1PWOs0J/t/pmw6Ob 13W6rAEqS3KAypAct0mmgDHZn7bODB9BxaGyU6Bp4mczXv96iiamKk6mTH/rkR/op35d cXYQ== 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=WMZx9cLMDoTQDD1KEPu2oBxCCnqL/CfcTGdQR4g6edw=; b=AB7QbRyUoVOvd/c8UVpgPM5fd98f9KbBfpVzgvrAqczhbuSgyQ9CGNDfNm8sC+KVMA kvYX0u9gLTPd7EkSfvK07/bfVtNDfeO3PZJSpxfXxpkvf850t5BTIbm7vVDV/2ZfTupB dw92ZMAplGUEk1f1mXGL4Q0fILV4inwml8zYuD5vheoATerdA91v1rSF6uwo93sxhP+R UkD1y207DtHS7pAtTchUU6NHw6Mcw+1C1xr8T72oTuqu9t0YaGV/6RvML2EDeSE64EZr 0BE+H2M7ghkWTCCJHbu+sPcgC6Zlvz59u8y5ZZcFZr6FkEov+6Kcrx8SK5egJ0gE/fnT X/BQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=jdAHgqXb; 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 q75-v6si2726787qki.370.2018.06.01.09.24.29 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 01 Jun 2018 09:24:29 -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=jdAHgqXb; 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]:56546 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOmqr-0008A1-7Q for patch@linaro.org; Fri, 01 Jun 2018 12:24:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOmne-0005qg-CG for qemu-devel@nongnu.org; Fri, 01 Jun 2018 12:21:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fOmnd-0003pL-0T for qemu-devel@nongnu.org; Fri, 01 Jun 2018 12:21:10 -0400 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:56092) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fOmnc-0003os-Qn for qemu-devel@nongnu.org; Fri, 01 Jun 2018 12:21:08 -0400 Received: by mail-wm0-x22e.google.com with SMTP id a8-v6so4057003wmg.5 for ; Fri, 01 Jun 2018 09:21:08 -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=WMZx9cLMDoTQDD1KEPu2oBxCCnqL/CfcTGdQR4g6edw=; b=jdAHgqXbnyZVRFHIFGZr08PFHGw5EU0d6dlaTOzOyuAAlYmjSIrNsywTRtGVQ2WPm1 qYS8FdalQIuLMf9F+XP729GSaZesQg3NSCQ0IYW6PSQtR/xEQC/ZfxQdQmB9dGi82MCf PNxgko8Wt3BzGblZGMGR9MgkUFF8FO2+Eu5RM= 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=WMZx9cLMDoTQDD1KEPu2oBxCCnqL/CfcTGdQR4g6edw=; b=HC7WUEpFHAA1p2sHJt7cQVWsXK8M6JTfHBchsuFMGHPpSEMLeeuQwt6f67jCzVJzAX xdz2xBEUWQqALjaZBEYURDwfRCwz1I4U+FI71a4eW7KF3+4g7Xyk1MjFdY451x9Ipzjj 6KTe9X2YpH21a9j093Uuy1U6rlbvPcUqS0UxPAFMyUdr8D0sJ+SGvgXS97WwRMBnwJr3 YOUV35wg2w8eUG6Eqvd3qCJ9XTL65B3iUM57c99vuZeY5ug+mitpZXjfxqUx97EogyLJ H1pC5nUdg7swGCzjqkhEgXB2OCYHt4KjYjP2f4GPFnXrnjdnB1T9jJj2qbyTo5hr4scG A9vQ== X-Gm-Message-State: APt69E2fISayvtl4fWWzjR7UX3AlyTx+udBK5CJrDtB/XLcpMC6nod95 u4zzEi324iBbFAGqtFK4Z492JQ== X-Received: by 2002:a1c:bfc8:: with SMTP id o69-v6mr3445969wmi.8.1527870067714; Fri, 01 Jun 2018 09:21:07 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id l5-v6sm21909737wrn.92.2018.06.01.09.21.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Jun 2018 09:21:04 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 38A1D3E075B; Fri, 1 Jun 2018 17:21:02 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Fri, 1 Jun 2018 17:20:59 +0100 Message-Id: <20180601162101.895-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180601162101.895-1-alex.bennee@linaro.org> References: <20180601162101.895-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::22e Subject: [Qemu-devel] [PULL 5/7] .travis.yml: rationalise clang testing 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: Fam Zheng , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" As Travis includes Clang 5.0 in its own build environment there is no point manually building with older Clangs. We still need to test with the two pythons though so we leave them as minimal system only builds. We also split the clang build into two as it often exceeds the 40 minute build time limit. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé -- 2.17.0 diff --git a/.travis.yml b/.travis.yml index aa83e9aed7..f91db3ab1a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -70,8 +70,10 @@ script: - make ${MAKEFLAGS} && ${TEST_CMD} matrix: include: - # Test with CLang for compile portability - - env: CONFIG="" + # Test with Clang for compile portability (Travis uses clang-5.0) + - env: CONFIG="--disable-system" + compiler: clang + - env: CONFIG="--disable-user" compiler: clang # gprof/gcov are GCC features - env: CONFIG="--enable-gprof --enable-gcov --disable-pie --disable-linux-user" @@ -95,70 +97,13 @@ matrix: - env: CONFIG="" os: osx compiler: clang - # Plain Trusty System Build - - env: CONFIG="--disable-linux-user" - sudo: required - addons: - dist: trusty - compiler: gcc - before_install: - - sudo apt-get update -qq - - sudo apt-get build-dep -qq qemu - - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ - - git submodule update --init --recursive - # Plain Trusty Linux User Build - - env: CONFIG="--disable-system" - sudo: required - addons: - dist: trusty - compiler: gcc - before_install: - - sudo apt-get update -qq - - sudo apt-get build-dep -qq qemu - - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ - - git submodule update --init --recursive - # Trusty System build with latest stable clang & python 3.0 - - sudo: required - addons: - dist: trusty - language: generic - compiler: none + # Python builds + - env: CONFIG="--target-list=x86_64-softmmu" python: - "3.0" - env: - - COMPILER_NAME=clang CXX=clang++-3.9 CC=clang-3.9 - - CONFIG="--disable-linux-user --cc=clang-3.9 --cxx=clang++-3.9 --python=/usr/bin/python3" - before_install: - - wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - - - sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-toolchain-trusty-3.9 main' - - sudo apt-get update -qq - - sudo apt-get install -qq -y clang-3.9 - - sudo apt-get build-dep -qq qemu - - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ - - git submodule update --init --recursive - before_script: - - ./configure ${CONFIG} || cat config.log - # Trusty Linux User build with latest stable clang & python 3.6 - - sudo: required - addons: - dist: trusty - language: generic - compiler: none + - env: CONFIG="--target-list=x86_64-softmmu" python: - "3.6" - env: - - COMPILER_NAME=clang CXX=clang++-3.9 CC=clang-3.9 - - CONFIG="--disable-system --cc=clang-3.9 --cxx=clang++-3.9 --python=/usr/bin/python3" - before_install: - - wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - - - sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-toolchain-trusty-3.9 main' - - sudo apt-get update -qq - - sudo apt-get install -qq -y clang-3.9 - - sudo apt-get build-dep -qq qemu - - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ - - git submodule update --init --recursive - before_script: - - ./configure ${CONFIG} || cat config.log # Using newer GCC with sanitizers - addons: apt: