* [Qemu-devel] [PULL 0/2] Travis updates
@ 2017-01-12 13:16 Alex Bennée
2017-01-12 13:16 ` [Qemu-devel] [PULL 1/2] travis: trim out most clang builds Alex Bennée
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Alex Bennée @ 2017-01-12 13:16 UTC (permalink / raw)
To: peter.maydell; +Cc: stefanha, qemu-devel, Alex Bennée
The following changes since commit b44486dfb9447c88e4b216e730adcc780190852c:
Merge remote-tracking branch 'remotes/kraxel/tags/pull-ui-20170110-1' into staging (2017-01-10 14:52:34 +0000)
are available in the git repository at:
https://github.com/stsquad/qemu.git tags/pull-travis-20170112-1
for you to fetch changes up to ae1a772c5607f25cbdc80063f0f5a85290434058:
travis: add Trusty with clang stable build (2017-01-12 10:04:17 +0000)
----------------------------------------------------------------
A couple of fixes to reduce the matrix some more that just missed the
last iteration.
----------------------------------------------------------------
Alex Bennée (1):
travis: add Trusty with clang stable build
Daniel P. Berrange (1):
travis: trim out most clang builds
.travis.yml | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
--
2.11.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Qemu-devel] [PULL 1/2] travis: trim out most clang builds
2017-01-12 13:16 [Qemu-devel] [PULL 0/2] Travis updates Alex Bennée
@ 2017-01-12 13:16 ` Alex Bennée
2017-01-12 13:16 ` [Qemu-devel] [PULL 2/2] travis: add Trusty with clang stable build Alex Bennée
2017-01-13 14:38 ` [Qemu-devel] [PULL 0/2] Travis updates Peter Maydell
2 siblings, 0 replies; 4+ messages in thread
From: Alex Bennée @ 2017-01-12 13:16 UTC (permalink / raw)
To: peter.maydell; +Cc: stefanha, qemu-devel, Daniel P. Berrange, Alex Bennée
From: "Daniel P. Berrange" <berrange@redhat.com>
We test with both gcc and clang in order to detect cases
where clang issues warnings that gcc misses. To achieve
this though we don't need to build QEMU in multiple
different configurations. Just a single clang-on-linux
build will be sufficient, if we have an "all enabled"
config.
This cuts the number of build jobs from 21 to 16,
reducing the load imposed on shared Travis CI infra.
This will make it practical to enable jobs for other
interesting & useful configurations without DOS'ing
Travis to much.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
.travis.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 9916178bf3..0706b9a1df 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,7 +4,6 @@ python:
- "2.4"
compiler:
- gcc
- - clang
cache: ccache
addons:
apt:
@@ -68,6 +67,9 @@ script:
- make -j3 && ${TEST_CMD}
matrix:
include:
+ # Test with CLang for compile portability
+ - env: CONFIG=""
+ compiler: clang
# gprof/gcov are GCC features
- env: CONFIG="--enable-gprof --enable-gcov --disable-pie"
compiler: gcc
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Qemu-devel] [PULL 2/2] travis: add Trusty with clang stable build
2017-01-12 13:16 [Qemu-devel] [PULL 0/2] Travis updates Alex Bennée
2017-01-12 13:16 ` [Qemu-devel] [PULL 1/2] travis: trim out most clang builds Alex Bennée
@ 2017-01-12 13:16 ` Alex Bennée
2017-01-13 14:38 ` [Qemu-devel] [PULL 0/2] Travis updates Peter Maydell
2 siblings, 0 replies; 4+ messages in thread
From: Alex Bennée @ 2017-01-12 13:16 UTC (permalink / raw)
To: peter.maydell; +Cc: stefanha, qemu-devel, Alex Bennée
Although we've reduced the matrix to avoid repeating clang builds we can
still add an additional clang build to use the latest stable version of
clang which will typically be available on current distros.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
.travis.yml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 0706b9a1df..d83e2d493b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -103,6 +103,26 @@ matrix:
- 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 build with latest stable clang
+ - env: CONFIG=""
+ sudo: required
+ addons:
+ dist: trusty
+ language: generic
+ compiler: none
+ env:
+ - COMPILER_NAME=clang CXX=clang++-3.9 CC=clang-3.9
+ - CONFIG="--cc=clang-3.9 --cxx=clang++-3.9"
+ 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:
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PULL 0/2] Travis updates
2017-01-12 13:16 [Qemu-devel] [PULL 0/2] Travis updates Alex Bennée
2017-01-12 13:16 ` [Qemu-devel] [PULL 1/2] travis: trim out most clang builds Alex Bennée
2017-01-12 13:16 ` [Qemu-devel] [PULL 2/2] travis: add Trusty with clang stable build Alex Bennée
@ 2017-01-13 14:38 ` Peter Maydell
2 siblings, 0 replies; 4+ messages in thread
From: Peter Maydell @ 2017-01-13 14:38 UTC (permalink / raw)
To: Alex Bennée; +Cc: Stefan Hajnoczi, QEMU Developers
On 12 January 2017 at 13:16, Alex Bennée <alex.bennee@linaro.org> wrote:
> The following changes since commit b44486dfb9447c88e4b216e730adcc780190852c:
>
> Merge remote-tracking branch 'remotes/kraxel/tags/pull-ui-20170110-1' into staging (2017-01-10 14:52:34 +0000)
>
> are available in the git repository at:
>
> https://github.com/stsquad/qemu.git tags/pull-travis-20170112-1
>
> for you to fetch changes up to ae1a772c5607f25cbdc80063f0f5a85290434058:
>
> travis: add Trusty with clang stable build (2017-01-12 10:04:17 +0000)
>
> ----------------------------------------------------------------
> A couple of fixes to reduce the matrix some more that just missed the
> last iteration.
>
> ----------------------------------------------------------------
Applied, thanks.
-- PMM
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-01-13 14:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-12 13:16 [Qemu-devel] [PULL 0/2] Travis updates Alex Bennée
2017-01-12 13:16 ` [Qemu-devel] [PULL 1/2] travis: trim out most clang builds Alex Bennée
2017-01-12 13:16 ` [Qemu-devel] [PULL 2/2] travis: add Trusty with clang stable build Alex Bennée
2017-01-13 14:38 ` [Qemu-devel] [PULL 0/2] Travis updates Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).