All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] travis: trim out most clang builds
@ 2016-10-27 13:23 Daniel P. Berrange
  2016-11-04 12:52 ` Stefan Hajnoczi
  2016-11-04 16:40 ` Alex Bennée
  0 siblings, 2 replies; 3+ messages in thread
From: Daniel P. Berrange @ 2016-10-27 13:23 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alex Bennée, Daniel P. Berrange

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>
---
 .travis.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 9916178..0706b9a 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.9.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] travis: trim out most clang builds
  2016-10-27 13:23 [Qemu-devel] [PATCH] travis: trim out most clang builds Daniel P. Berrange
@ 2016-11-04 12:52 ` Stefan Hajnoczi
  2016-11-04 16:40 ` Alex Bennée
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2016-11-04 12:52 UTC (permalink / raw)
  To: Daniel P. Berrange; +Cc: qemu-devel, Alex Bennée

[-- Attachment #1: Type: text/plain, Size: 812 bytes --]

On Thu, Oct 27, 2016 at 03:23:45PM +0200, Daniel P. Berrange wrote:
> 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>
> ---
>  .travis.yml | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] travis: trim out most clang builds
  2016-10-27 13:23 [Qemu-devel] [PATCH] travis: trim out most clang builds Daniel P. Berrange
  2016-11-04 12:52 ` Stefan Hajnoczi
@ 2016-11-04 16:40 ` Alex Bennée
  1 sibling, 0 replies; 3+ messages in thread
From: Alex Bennée @ 2016-11-04 16:40 UTC (permalink / raw)
  To: Daniel P. Berrange; +Cc: qemu-devel


Daniel P. Berrange <berrange@redhat.com> writes:

> 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>
> ---
>  .travis.yml | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/.travis.yml b/.travis.yml
> index 9916178..0706b9a 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

Good idea. I'll add it to my tree.

Thanks.

--
Alex Bennée

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-04 16:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-27 13:23 [Qemu-devel] [PATCH] travis: trim out most clang builds Daniel P. Berrange
2016-11-04 12:52 ` Stefan Hajnoczi
2016-11-04 16:40 ` Alex Bennée

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.