From patchwork Wed May 27 14:54:46 2020 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: 187278 Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp1193661ilb; Wed, 27 May 2020 07:58:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhzCTB6ZSyW07dGCdGVzq23Obl7xdh4UoVj5ihiOba+hQOPLKMBOOkNCNVR/F5A3780WWV X-Received: by 2002:a25:b5c2:: with SMTP id d2mr11050239ybg.9.1590591498181; Wed, 27 May 2020 07:58:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590591498; cv=none; d=google.com; s=arc-20160816; b=aWV3YTeVIBk0H05vvdTtchaU43umynoZ1cTyfUHFWxioZrPVXT+gQtcMeL2htvy+sR +9za4HC+YURHP/wEXLbLuO9iKmbWGOAU7pOKog61eysoxslAoajWsH8c1oZMhHzHNViQ 2OqE/xDtk+xPRxpCXIhdUaMF44403Be3g3vLNu+CyHVFKN2pWyqNehqAm89WHQRfWluL Pb6CFcxZhkdq/RQGuE9QdGPNQuGTXtq8LshSRQr0D22Zlc3wWKeIBdBKKdneVJTyAtlk v5Y4ialk2sQCA3cbKYmj7j5IyoA3xSK7aWmy4PJvmbrgqidRiVQYccWaIkkKWR264R9P pcyw== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=jrUkHAApHhp6xANTyxUoK7alihevxNR/A5+KN9e47UQ=; b=n+/twTkL/34BV4+O6O8L0CFoEifITRfOz+lWr/8kgD6PgqZWeSDjkM2It04RNpx9vN ilG/xZjpoSmVU6YLCXDJSGBvUmxgz5P7m7299plA3Ki4z6aMqUtUPL3KNZUuEl4+3Fzr /ROVtT5kudVp92u5gQ9C5Ug4dKCeIW2+aicaf8H9U6eho4tHv0jdrxl9FXZ+C+MMQ9O5 S9SW5zIyTjRTlQEFt/cmf0EXveb7r3eGIFORGa/gaL6xeAHAyEZcox0ovu1LWe505May 8MQ8De0biafG/j0dZ9e4iQIywZ6yu06tDZjBfJSGBo4r5kUP+VVmI55VX8N5mhOIqUwM dq0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=uqJr3GeB; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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. [209.51.188.17]) by mx.google.com with ESMTPS id f142si3069025ybg.418.2020.05.27.07.58.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 May 2020 07:58:18 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=uqJr3GeB; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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]:59552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdxVZ-00085a-Jo for patch@linaro.org; Wed, 27 May 2020 10:58:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdxSS-0001lU-HK for qemu-devel@nongnu.org; Wed, 27 May 2020 10:55:04 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:51980) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jdxSQ-00087K-M0 for qemu-devel@nongnu.org; Wed, 27 May 2020 10:55:04 -0400 Received: by mail-wm1-x32c.google.com with SMTP id u13so3350664wml.1 for ; Wed, 27 May 2020 07:55:02 -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=jrUkHAApHhp6xANTyxUoK7alihevxNR/A5+KN9e47UQ=; b=uqJr3GeBau4h3aIY5NIeHOjiOc3unA0hnmD5veTwEuuG/w0EU0UpjfBOENDFyl1xb+ jrN7KuHhTSuABTEhCyFg5kCl+MEdusFkuQI5tVTQsSGMhCW4NsubDN/V1Yiyv6gqgbZp xGR4slW0RP6TNcR5Hq4WuR1hRhgmVIz/2bmBUifcS15T2rKKDtGVHKG3ktn/DipB/Lg6 mdsaPSIbZ7mc5hqWC69Mlr2H+ycbf1fAi9jZgFu+AY4CnW5biCpAR5zm173e7mvZzOx+ lVIbnqBV9J0gmr1CVDZyYoJsIXY1gITo+rNEa6SHZbB2d6jSuIFyUeffmwVfQdU37yLg D6Bw== 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=jrUkHAApHhp6xANTyxUoK7alihevxNR/A5+KN9e47UQ=; b=LXe0v1Qs4CvOlnyu9ruPxs6HEYIccviMAQQvm6dMV/++flOaiGxuIYdCdf7wVyycpv Q6oyaNxZ4lNpSQoDBpa04IdZ2RAR3MJLJM5T9P65r4P3n0bMLQq/8N+rgwIGSKpJTx9k QCk6XH7MM5poCc/wN4p8IEbvy3v0Dl2XPeGbebrjZ6ppX8gHoAc8bRh3902K8YaX/qD7 VhLH9QPlyWUfR3dk4rJO85NyT0vAkspn0yo64zutzXYQVysoxHYn7B7qgkM4+eYCHTmZ AKcui71MPrn7uJ6jrH6qkh1EkpViD3cWcWz/CZm3rSOih0wyizTAOeIrY+iVCY/1XkBH ukXw== X-Gm-Message-State: AOAM530bfFFnS/LCqp4aKATkonsW3hULwi0qGONsrM3TOvyRoaeIy6qh 5YSu+F17eHR1a2ScxjWg/Uyl/g== X-Received: by 2002:a05:600c:1146:: with SMTP id z6mr4554192wmz.179.1590591301136; Wed, 27 May 2020 07:55:01 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id z7sm3030126wrt.6.2020.05.27.07.54.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 May 2020 07:54:58 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 54D891FF8F; Wed, 27 May 2020 15:54:56 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 03/12] travis.yml: Use clang++ in the Clang tests Date: Wed, 27 May 2020 15:54:46 +0100 Message-Id: <20200527145455.2550-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200527145455.2550-1-alex.bennee@linaro.org> References: <20200527145455.2550-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth Our configure script does not look for clang++ automatically, so we should use --cxx=clang++ to make sure that we test our C++ code with Clang, too. And while we're at it, also use --host-cc=clang here to avoid that we use the normal "cc" as host C compiler. Signed-off-by: Thomas Huth Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20200518083316.25065-1-thuth@redhat.com> Message-Id: <20200520140541.30256-4-alex.bennee@linaro.org> -- 2.20.1 diff --git a/.travis.yml b/.travis.yml index 1ec8a7b4657..564be50a3c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -205,14 +205,15 @@ jobs: # Test with Clang for compile portability (Travis uses clang-5.0) - name: "Clang (user)" env: - - CONFIG="--disable-system" + - CONFIG="--disable-system --host-cc=clang --cxx=clang++" - CACHE_NAME="${TRAVIS_BRANCH}-linux-clang-default" compiler: clang - name: "Clang (main-softmmu)" env: - - CONFIG="--target-list=${MAIN_SOFTMMU_TARGETS} " + - CONFIG="--target-list=${MAIN_SOFTMMU_TARGETS} + --host-cc=clang --cxx=clang++" - CACHE_NAME="${TRAVIS_BRANCH}-linux-clang-sanitize" compiler: clang before_script: @@ -222,7 +223,8 @@ jobs: - name: "Clang (other-softmmu)" env: - - CONFIG="--disable-user --target-list-exclude=${MAIN_SOFTMMU_TARGETS}" + - CONFIG="--disable-user --target-list-exclude=${MAIN_SOFTMMU_TARGETS} + --host-cc=clang --cxx=clang++" - CACHE_NAME="${TRAVIS_BRANCH}-linux-clang-default" compiler: clang