From nobody Fri Nov 14 19:23:47 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1589790919; cv=none; d=zohomail.com; s=zohoarc; b=fmRo3GCPOnTzCxn91w8tOfqTMfH9OQcFQgO0H9/8l5rXLA1HWhsWtRdUig7fd/Yi3lNh2kOVlmE+MFpdyi4xH6c2ag0+hQjebFQNnvbrC5AvgjT3PfelnDzM2xH/yMuSNJirHaAacCtQU2oVj+yW0jzxviOHbOh9B8JpPzgigjc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589790919; h=Content-Type:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=xgGz94sVb4d0ezexUgevgjLRHz035twUg3/hSMAyx78=; b=VUTunzJZVAGX6UTTYJ9bFHbcbieEZNmwIJB3LhN6293cDaC3kudMJP/bLXsJJtn4aQ3YqIJt+0uXosDLKshdvcqGOjQLNp/imt9pnndv+XorykGStQI5UOaDwro7JrF4bMGymSh7y5AtXs4r5mOUXr2R/UFGnF6WaowwYhvxNKA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1589790919762956.4805019918442; Mon, 18 May 2020 01:35:19 -0700 (PDT) Received: from localhost ([::1]:45206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jabF0-0006nl-Hl for importer@patchew.org; Mon, 18 May 2020 04:35:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jabDA-0004Hh-Tn for qemu-devel@nongnu.org; Mon, 18 May 2020 04:33:24 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:46481 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jabDA-0005vE-3K for qemu-devel@nongnu.org; Mon, 18 May 2020 04:33:24 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-508-whazOjatMZK3x6JjO7oCSw-1; Mon, 18 May 2020 04:33:21 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D6B86800D24; Mon, 18 May 2020 08:33:20 +0000 (UTC) Received: from thuth.com (ovpn-112-182.ams2.redhat.com [10.36.112.182]) by smtp.corp.redhat.com (Postfix) with ESMTP id CC99E64453; Mon, 18 May 2020 08:33:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589790803; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type:in-reply-to:in-reply-to: references:references; bh=xgGz94sVb4d0ezexUgevgjLRHz035twUg3/hSMAyx78=; b=VQE2lzbcM4ZZh8/7OOGt5WBEhSiI73jfOcjcQp23iBGDfg2umiyj5fdoIji3Y4bAxxaPhp 5oA6Hpdgjx+bjhapzzksHdV5O/QytRL7LmOos5KUgGnxKKWd/enC0RlNUzwmVyVTOFOOWN OqlvlUhRV3VcKHV3Y7rWK385JdNl6nE= X-MC-Unique: whazOjatMZK3x6JjO7oCSw-1 From: Thomas Huth To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [PATCH] travis.yml: Use clang++ in the Clang tests Date: Mon, 18 May 2020 10:33:16 +0200 Message-Id: <20200518083316.25065-2-thuth@redhat.com> In-Reply-To: <20200518083316.25065-1-thuth@redhat.com> References: <20200518083316.25065-1-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=205.139.110.120; envelope-from=thuth@redhat.com; helo=us-smtp-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/17 22:51:00 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] 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, DKIMWL_WL_HIGH=0.001, 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 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: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Our configure script does not look for clang++ automatically, so we should use --cxx=3Dclang++ to make sure that we test our C++ code with Clang, too. And while we're at it, also use --host-cc=3Dclang here to avoid that we use the normal "cc" as host C compiler. Signed-off-by: Thomas Huth --- .travis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1ec8a7b465..564be50a3c 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=3D"--disable-system" + - CONFIG=3D"--disable-system --host-cc=3Dclang --cxx=3Dclang++" - CACHE_NAME=3D"${TRAVIS_BRANCH}-linux-clang-default" compiler: clang =20 =20 - name: "Clang (main-softmmu)" env: - - CONFIG=3D"--target-list=3D${MAIN_SOFTMMU_TARGETS} " + - CONFIG=3D"--target-list=3D${MAIN_SOFTMMU_TARGETS} + --host-cc=3Dclang --cxx=3Dclang++" - CACHE_NAME=3D"${TRAVIS_BRANCH}-linux-clang-sanitize" compiler: clang before_script: @@ -222,7 +223,8 @@ jobs: =20 - name: "Clang (other-softmmu)" env: - - CONFIG=3D"--disable-user --target-list-exclude=3D${MAIN_SOFTMMU_= TARGETS}" + - CONFIG=3D"--disable-user --target-list-exclude=3D${MAIN_SOFTMMU_= TARGETS} + --host-cc=3Dclang --cxx=3Dclang++" - CACHE_NAME=3D"${TRAVIS_BRANCH}-linux-clang-default" compiler: clang =20 --=20 2.18.1