qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cirrus.yml: Exclude some targets in the FreeBSD job to speed up the build
@ 2020-08-24  9:44 Thomas Huth
  2020-08-27 15:00 ` Daniel P. Berrangé
  2020-08-28  8:59 ` Daniel P. Berrangé
  0 siblings, 2 replies; 6+ messages in thread
From: Thomas Huth @ 2020-08-24  9:44 UTC (permalink / raw)
  To: Ed Maste, qemu-devel; +Cc: Paolo Bonzini, Alex Bennée, Li-Wen Hsu

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 --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
 
-- 
2.18.2



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

end of thread, other threads:[~2020-08-31  6:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-24  9:44 [PATCH] cirrus.yml: Exclude some targets in the FreeBSD job to speed up the build Thomas Huth
2020-08-27 15:00 ` Daniel P. Berrangé
2020-08-28  4:28   ` Thomas Huth
2020-08-28  8:59 ` Daniel P. Berrangé
2020-08-28  9:54   ` Thomas Huth
2020-08-31  6:13     ` Thomas Huth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).