[PATCH v2 12/12] .travis.yml: limit the arm64 target list

Alex Bennée posted 12 patches 5 years, 9 months ago
Maintainers: Thomas Huth <thuth@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@redhat.com>, Fam Zheng <fam@euphon.net>
[PATCH v2 12/12] .travis.yml: limit the arm64 target list
Posted by Alex Bennée 5 years, 9 months ago
Even though we can do a good multi-threaded build we are still
exceeding the 50 minute build time while running the tests.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index a600f508b0..71bf650b1d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -426,7 +426,7 @@ matrix:
           - genisoimage
       env:
         - TEST_CMD="make check check-tcg V=1"
-        - CONFIG="--disable-containers --target-list=${MAIN_SOFTMMU_TARGETS}"
+        - CONFIG="--disable-containers --target-list=aarch64-softmmu,aarch64-linux-user,arm-softmmu,arm-linux-user"
 
     - name: "[ppc64] GCC check-tcg"
       arch: ppc64le
-- 
2.20.1


Re: [PATCH v2 12/12] .travis.yml: limit the arm64 target list
Posted by Thomas Huth 5 years, 9 months ago
On 30/01/2020 12.32, Alex Bennée wrote:
> Even though we can do a good multi-threaded build we are still
> exceeding the 50 minute build time while running the tests.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  .travis.yml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index a600f508b0..71bf650b1d 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -426,7 +426,7 @@ matrix:
>            - genisoimage
>        env:
>          - TEST_CMD="make check check-tcg V=1"
> -        - CONFIG="--disable-containers --target-list=${MAIN_SOFTMMU_TARGETS}"
> +        - CONFIG="--disable-containers --target-list=aarch64-softmmu,aarch64-linux-user,arm-softmmu,arm-linux-user"

Maybe still include x86_64-softmmu? (I assume arm folks might be
interested in that?)

 Thomas


Re: [PATCH v2 12/12] .travis.yml: limit the arm64 target list
Posted by Philippe Mathieu-Daudé 5 years, 9 months ago
On 1/30/20 12:32 PM, Alex Bennée wrote:
> Even though we can do a good multi-threaded build we are still
> exceeding the 50 minute build time while running the tests.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>   .travis.yml | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index a600f508b0..71bf650b1d 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -426,7 +426,7 @@ matrix:
>             - genisoimage
>         env:
>           - TEST_CMD="make check check-tcg V=1"
> -        - CONFIG="--disable-containers --target-list=${MAIN_SOFTMMU_TARGETS}"
> +        - CONFIG="--disable-containers --target-list=aarch64-softmmu,aarch64-linux-user,arm-softmmu,arm-linux-user"

We should split this job in 2 using --target-list-exclude, like on 
X86/debug:

   env:
   - CONFIG="--disable-containers 
--target-list-exclude=${MAIN_SOFTMMU_TARGETS}"

>   
>       - name: "[ppc64] GCC check-tcg"
>         arch: ppc64le
> 


Re: [PATCH v2 12/12] .travis.yml: limit the arm64 target list
Posted by Philippe Mathieu-Daudé 5 years, 9 months ago
On 1/31/20 4:55 PM, Philippe Mathieu-Daudé wrote:
> On 1/30/20 12:32 PM, Alex Bennée wrote:
>> Even though we can do a good multi-threaded build we are still
>> exceeding the 50 minute build time while running the tests.

Oh now I remember, we are not using ccache on Aarch64 because Thomas 
reported it was not working:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg650940.html

>>
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> ---
>>   .travis.yml | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/.travis.yml b/.travis.yml
>> index a600f508b0..71bf650b1d 100644
>> --- a/.travis.yml
>> +++ b/.travis.yml
>> @@ -426,7 +426,7 @@ matrix:
>>             - genisoimage
>>         env:
>>           - TEST_CMD="make check check-tcg V=1"
>> -        - CONFIG="--disable-containers 
>> --target-list=${MAIN_SOFTMMU_TARGETS}"
>> +        - CONFIG="--disable-containers 
>> --target-list=aarch64-softmmu,aarch64-linux-user,arm-softmmu,arm-linux-user" 
>>
> 
> We should split this job in 2 using --target-list-exclude, like on 
> X86/debug:
> 
>    env:
>    - CONFIG="--disable-containers 
> --target-list-exclude=${MAIN_SOFTMMU_TARGETS}"
> 
>>       - name: "[ppc64] GCC check-tcg"
>>         arch: ppc64le
>>