[libvirt PATCH 351/351] meson: .gitlab-ci.yml: switch armv7l build to Debian 10

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

 



On Debian Sid there are broken headers for cross compilation. There is
no <asm/kvm.h> header unconditionally included by <linux/kvm.h>.

With autotools the build works correctly because the header detection
tries to compile simple code that includes the header but with Meson
the detection works differently. We check <linux/kvm.h> which is present
so it should be safe to include it.

We could workaround it in libvirt by checking for presence of
<asm/kvm.h> as well but I don't believe that's a correct approach.
IMHO it should be fixed in Debian.

Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
---
 .gitlab-ci.yml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c789f1f4fea..04b664bc7fc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -364,6 +364,12 @@ armv6l-debian-10:
     NAME: debian-10
     CROSS: armv6l
 
+armv7l-debian-10:
+  <<: *cross_build_job_definition
+  variables:
+    NAME: debian-10
+    CROSS: armv7l
+
 mips64el-debian-10:
   <<: *cross_build_job_definition
   variables:
@@ -394,12 +400,6 @@ s390x-debian-sid:
     NAME: debian-sid
     CROSS: s390x
 
-armv7l-debian-sid:
-  <<: *cross_build_job_definition
-  variables:
-    NAME: debian-sid
-    CROSS: armv7l
-
 i686-debian-sid:
   <<: *cross_build_job_definition
   variables:
-- 
2.26.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux