mbox series

[kvm-unit-tests,0/4] Test compiling with Clang in the Travis-CI

Message ID 20210622135517.234801-1-thuth@redhat.com (mailing list archive)
Headers show
Series Test compiling with Clang in the Travis-CI | expand

Message

Thomas Huth June 22, 2021, 1:55 p.m. UTC
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

Comments

Paolo Bonzini June 22, 2021, 4:25 p.m. UTC | #1
On 22/06/21 15:55, Thomas Huth wrote:
> 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).

Looks good apart from Claudio's remark.  Thanks very much!

Paolo