diff mbox series

cirrus.yml: Exclude some targets in the FreeBSD job to speed up the build

Message ID 20200824094410.6201-1-thuth@redhat.com
State New
Headers show
Series cirrus.yml: Exclude some targets in the FreeBSD job to speed up the build | expand

Commit Message

Thomas Huth Aug. 24, 2020, 9:44 a.m. UTC
The FreeBSD jobs currently hit the 1h time limit in the Cirrus-CI.
We've got to exclude some build targets here to make sure that the job
finishes in time again. The targets that are excluded should not hurt
much, since e.g. all the code from i386-softmmu is covered again by
x86_64-softmmu.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 Not sure why the FreeBSD builds suddenly got slower and hit the 1h
 time limit now. Looking at https://cirrus-ci.com/github/qemu/qemu
 it seems like the FreeBSD jobs were already taking ca. 48 minutes
 since quite a while, but since the Meson build system has been merged,
 they now always hit the 1h limit. Could it be that Meson is slow on
 FreeBSD?
 
 I hope disabling some of the "redundant" targets is ok for everybody
 to get this working again. Alternatively, we could also introduce a
 second FreeBSD job and run half of the targets in one job, and half
 of the targets in the other job if that's preferred?
 
 .cirrus.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/.cirrus.yml b/.cirrus.yml
index 0742aaf8a3..bd3329b663 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -12,7 +12,9 @@  freebsd_12_task:
   script:
     - mkdir build
     - cd build
-    - ../configure --enable-werror || { cat config.log; exit 1; }
+    - ../configure --enable-werror --target-list-exclude='mips64el-softmmu
+        mips-softmmu arm-softmmu i386-softmmu ppc-softmmu riscv32-softmmu
+        sh4eb-softmmu xtensaeb-softmmu' || { cat config.log; exit 1; }
     - gmake -j8
     - gmake V=1 check