[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 0/3] unbreak non-tcg builds
From: |
Claudio Fontana |
Subject: |
Re: [PATCH v3 0/3] unbreak non-tcg builds |
Date: |
Tue, 13 Oct 2020 18:47:42 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 |
On 10/13/20 4:55 PM, Philippe Mathieu-Daudé wrote:
> On 10/13/20 4:38 PM, Claudio Fontana wrote:
>> This series now unbreaks current non-tcg builds
>> (!CONFIG_TCG).
>>
>> tests Makefiles need to avoid relying on all non-native
>> archs binaries to be present,
>>
>> bios-tables-test needs to skip tests that are tcg-only,
>>
>> and notably the replay framework needs to consider that
>> it might not be functional (or its code present at all)
>> without TCG.
>>
>> Tested ok target x86_64-softmmu on x86_64 host with:
>>
>> ./configure --enable-tcg --disable-kvm
>> ./configure --enable-kvm --disable-tcg
>> ./configure --enable-tcg --enable-kvm
>
> If you want to avoid these configurations to bitrot,
> consider covering them by adding Gitlab jobs :)))
>
>
That would be, providing a patch to .travis.yml right?
I guess -j parameter for make is automatically provided depending on infra
resources?
Something like the following?
Ciao,
C
diff --git a/.travis.yml b/.travis.yml
index 1054ec5d29..49ec615ed8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -320,6 +320,19 @@ jobs:
- TEST_CMD="make check-tcg"
- CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg"
+ # Check modular accelerator builds.
+ - name: "modular accelerator builds (x86_64-softmmu, tcg only)"
+ env:
+ - CONFIG="--disable-kvm --enable-tcg --target-list=x86_64-softmmu"
+ - TEST_BUILD_CMD="make"
+ - TEST_CMD="make check"
+
+ - name: "modular accelerator builds (x86_64-softmmu, kvm only)"
+ env:
+ - CONFIG="--enable-kvm --disable-tcg --target-list=x86_64-softmmu"
+ - TEST_BUILD_CMD="make"
+ - TEST_CMD="make check"
+
- name: "[aarch64] GCC check-tcg"
arch: arm64
dist: focal
Re: [PATCH v3 0/3] unbreak non-tcg builds, Philippe Mathieu-Daudé, 2020/10/13