qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] .travis.yml: Build acceptance tests with -O2 compiler optimi


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] .travis.yml: Build acceptance tests with -O2 compiler optimization
Date: Sun, 21 Jun 2020 20:05:25 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

On 6/21/20 2:47 PM, Alex Bennée wrote:
> 
> Philippe Mathieu-Daudé <f4bug@amsat.org> writes:
> 
>> On 6/21/20 1:29 AM, Philippe Mathieu-Daudé wrote:
>>> As we just want the tests to succeed, build them with compiler
>>> optimizations enabled to run the tests faster.
>>
>> Maybe it is a good opportunity to test -O3 instead...
>> Since this configuration is not covered.
> 
> Don't know if -O3 is worth it - even Gentoo developers warn against
> cranking it up too much.
> 
> In fact I'm surprised we don't build -O2 by default.

Do you mean in Travis or directly in ./configure?

> 
>>
>>>
>>> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
>>> ---
>>>  .travis.yml | 2 +-
>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/.travis.yml b/.travis.yml
>>> index 74158f741b..61b247db9f 100644
>>> --- a/.travis.yml
>>> +++ b/.travis.yml
>>> @@ -293,7 +293,7 @@ jobs:
>>>      - name: "GCC check-acceptance"
>>>        dist: bionic
>>>        env:
>>> -        - CONFIG="--enable-tools 
>>> --target-list=aarch64-softmmu,alpha-softmmu,arm-softmmu,m68k-softmmu,microblaze-softmmu,mips-softmmu,mips64el-softmmu,nios2-softmmu,or1k-softmmu,ppc-softmmu,ppc64-softmmu,s390x-softmmu,sh4-softmmu,sparc-softmmu,x86_64-softmmu,xtensa-softmmu"
>>> +        - CONFIG="--extra-cflags=-O2 --enable-tools 
>>> --target-list=aarch64-softmmu,alpha-softmmu,arm-softmmu,m68k-softmmu,microblaze-softmmu,mips-softmmu,mips64el-softmmu,nios2-softmmu,or1k-softmmu,ppc-softmmu,ppc64-softmmu,s390x-softmmu,sh4-softmmu,sparc-softmmu,x86_64-softmmu,xtensa-softmmu"
>>>          - TEST_CMD="make check-acceptance"
>>>          - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-acceptance"
>>>        after_script:
>>>
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]