From patchwork Tue Jun 22 13:55:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 12337455 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC7A4C2B9F4 for ; Tue, 22 Jun 2021 13:55:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 94CF861369 for ; Tue, 22 Jun 2021 13:55:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231452AbhFVN5q (ORCPT ); Tue, 22 Jun 2021 09:57:46 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:33611 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229907AbhFVN5p (ORCPT ); Tue, 22 Jun 2021 09:57:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1624370128; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=I4vXGfb12olPaNZAsZiiv1VuvejH/tkrBwhicf+ya/w=; b=ER5Rtx/PRdAdom/yUF6xM+ZqOoQuJ+Bht1/FBVZlt+8kxoDUPc8DIcmzNvm7SLm2zg0AIA z5bCIILIBg6IUd2zdlE/ivWJXyjisU3tDkV9g2sqxZTpkhWqWtVIahvhWFW4BnuXwypPlY QE/EYd2XVcYPNbBjb6Ns0ABV5q7TFB0= 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-553-8BXrqVyROi6P6O7aJKkCZQ-1; Tue, 22 Jun 2021 09:55:25 -0400 X-MC-Unique: 8BXrqVyROi6P6O7aJKkCZQ-1 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 F2981101C8AA; Tue, 22 Jun 2021 13:55:23 +0000 (UTC) Received: from thuth.com (ovpn-112-107.ams2.redhat.com [10.36.112.107]) by smtp.corp.redhat.com (Postfix) with ESMTP id 871791899A; Tue, 22 Jun 2021 13:55:19 +0000 (UTC) From: Thomas Huth To: kvm@vger.kernel.org, Paolo Bonzini Cc: Laurent Vivier , Janosch Frank , Cornelia Huck , Claudio Imbrenda , David Hildenbrand Subject: [kvm-unit-tests PATCH 0/4] Test compiling with Clang in the Travis-CI Date: Tue, 22 Jun 2021 15:55:13 +0200 Message-Id: <20210622135517.234801-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Travis-CI recently changed their policy so that builds on the non-x86 build machines are possible without consuming any credits again. While we're already testing the non-x86 builds in the gitlab-CI with the GCC cross-compilers, we could still benefit from the non-x86 builders in the Travis-CI by compiling the code with Clang there, too (since there are AFAIK no Clang cross-compilers available in the usual distros on x86). Thomas Huth (4): configure: Add the possibility to specify additional cflags powerpc: Probe whether the compiler understands -mabi=no-altivec lib/s390x: Fix the epsw inline assembly Test compilation with Clang on aarch64, ppc64le and s390x in Travis-CI .travis.yml | 44 ++++++++++++++++++++++++++++++++++++++++ Makefile | 3 --- configure | 10 +++++++-- lib/s390x/asm/arch_def.h | 2 +- powerpc/Makefile.common | 4 +++- 5 files changed, 56 insertions(+), 7 deletions(-) create mode 100644 .travis.yml