From patchwork Wed May 30 11:06:52 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: 137252 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp5178146lji; Wed, 30 May 2018 04:11:56 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK0wZVNq0mWh3gq5LRe8tBsLoUlZvuQrGzDJvdw4Gjbu5EkK2WCRtDIIvClE0QEVdTmAJAX X-Received: by 2002:ae9:dc81:: with SMTP id q123-v6mr1948604qkf.318.1527678716021; Wed, 30 May 2018 04:11:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527678716; cv=none; d=google.com; s=arc-20160816; b=ObE3r5Y+4YVq1ZKpvefmvadX0QL6ph6ayVkpVJyZnjyF6DhPyEiUtIpCUWqVZUh5JW YK1zfDdZp1pMQtABzjT1/W5MmJ87vCkP0q1NgLro/ChJrDsZArMyR5xqiXF4YWFyLfEW R05k7IUtBJlmetmVkDgHU+SmNDLut0ypcewULG+G8ye43DMScY2FKLmSYe8rcbJdbuR7 x+jm6QXXH04sJFznjhqdQod2yrbSeLj7JKimjpHHEU0fq5b9rDjMCF3wUULs4qFqXh89 JerqZ2RK+mn5o1V38fD67ww52mKORpNCBRVpLoajiU86kRXb9IlgSm6rSNsez9+W/YU/ yp7A== 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=Jthp9jGgIrowvLV7bGzwfMOO9v9tv/C1McExL4NZhsU=; b=DOb9j/yed8WUtJqd3GLQgOsI282/eOAOC/WpxvKqWSdKG0/Q8W1uDQmm81qoY2gV+F FWy4SNp9TEjLJbDDnEjkogqRWtbIRrxL/qLKYC6ZLpC/AVoGTqv/y+qsvFd4PBw8e2hk vzBQUQDcJbw970UmSSPtl71frd/8eVhhdrQO94ur6Fln652U3vRgbm0jNAJ+BqCfYMAQ 9kcejOWEmvt7nR61s4YEGZvcH0fu+KiJk2bb1OnhDypKueTVsOKwjnf6UfkZUuLcyuKl Z3QsDBrq+b98O481cbxMNmw1nAOKnOUh2C1fI47xmljj3tZFqPVcIVgI7iaLvhtPSQXk GWHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=JASs9z41; 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 k45-v6si4444197qvk.217.2018.05.30.04.11.55 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 30 May 2018 04:11:56 -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=JASs9z41; 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]:37619 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNz1H-0003H8-Do for patch@linaro.org; Wed, 30 May 2018 07:11:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNywb-0008P1-FM for qemu-devel@nongnu.org; Wed, 30 May 2018 07:07:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNywa-0001zQ-17 for qemu-devel@nongnu.org; Wed, 30 May 2018 07:07:05 -0400 Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]:41243) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fNywZ-0001zB-OQ for qemu-devel@nongnu.org; Wed, 30 May 2018 07:07:03 -0400 Received: by mail-wr0-x234.google.com with SMTP id u12-v6so29062949wrn.8 for ; Wed, 30 May 2018 04:07:03 -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=Jthp9jGgIrowvLV7bGzwfMOO9v9tv/C1McExL4NZhsU=; b=JASs9z41/bV/vJGrr3eVuRv8It5C3kStiBw4WlTSJqqZdnMeSaflA0HJY1/Y0RJIYa UPh73rjIJUaXcXTM5tLJed6aWvEWevFHZyWVrpoTdA7xaGvWVeEaFUz040PtsTknyrpX MFUf785vwNi/87codUfDEUKxlRBMd/j3uFWe0= 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=Jthp9jGgIrowvLV7bGzwfMOO9v9tv/C1McExL4NZhsU=; b=RcKw1JqBlBE/v7xKpL6J+Rnt8UcMZiToRnQOO0unItKNzs54AD7hZF67NJndlkpzgq Z3pHvy0QioO5es1d27CnSwd6pWQC5163E2XMEc1xckXeeqMvndckx+XhjV7a6yCBd1sd j8pRtNqJ8Ob7W7YLGebnuMkF6COQXTv9ZR/xsO4iXRgoPRGjfOY5ehFmPlrAye7l2Vb/ Sjv/bdaA6cgjUJstNh+VGZi7gYHmBKludw41pd/lFvUJpiMz/irFgkWqoH7wy+58QFX8 J+Wa871TKAqRUJN6bJ4vJk9Td3Fit2Ql8KUF+skvDHXosb73C8+mr6MOl074mL2nmtA/ TTmg== X-Gm-Message-State: ALKqPwetnohXHKdSLXufFoFsBsxnM1dYw+/BwKjczUepTtxJuYSykpB4 uFybm9xQzehf7FOK8aVB4fJQkg== X-Received: by 2002:adf:a645:: with SMTP id k63-v6mr1845479wrc.231.1527678422678; Wed, 30 May 2018 04:07:02 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y129-v6sm18757084wmg.44.2018.05.30.04.06.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 May 2018 04:06:59 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 3E8523E075F; Wed, 30 May 2018 12:06:56 +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, pbonzini@redhat.com, stefanha@redhat.com, stefanb@linux.vnet.ibm.com, marcandre.lureau@redhat.com Date: Wed, 30 May 2018 12:06:52 +0100 Message-Id: <20180530110655.22022-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180530110655.22022-1-alex.bennee@linaro.org> References: <20180530110655.22022-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:c0c::234 Subject: [Qemu-devel] [PATCH v1 5/8] .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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org 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 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 --- .travis.yml | 67 +++++------------------------------------------------ 1 file changed, 6 insertions(+), 61 deletions(-) -- 2.17.0 Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé diff --git a/.travis.yml b/.travis.yml index aa83e9aed7..85ee2a1edb 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 + # Python builds - 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: - "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="--disable-linux-user" 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: