]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: Only build ch driver on x86_64 and aarch64
authorCole Robinson <crobinso@redhat.com>
Fri, 17 Jan 2025 16:47:08 +0000 (11:47 -0500)
committerCole Robinson <crobinso@redhat.com>
Mon, 20 Jan 2025 18:19:34 +0000 (13:19 -0500)
This matches the cpu_family() check in `meson.build`

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
libvirt.spec.in

index f513ca917399dff38bd1bb2a5dbfe0177f4e1643..0836c11e8e36c44666be412798a539af2936bee4 100644 (file)
@@ -29,6 +29,7 @@
 %define arches_zfs              %{arches_x86} %{power64} %{arm}
 %define arches_numactl          %{arches_x86} %{power64} aarch64 s390x
 %define arches_numad            %{arches_x86} %{power64} aarch64
+%define arches_ch               x86_64 aarch64
 
 # The hypervisor drivers that run in libvirtd
 %define with_qemu          0%{!?_without_qemu:1}
 %ifnarch %{arches_ceph}
     %define with_storage_rbd 0
 %endif
+%ifnarch %{arches_ch}
+    %define with_ch 0
+%endif
 
 # RHEL doesn't ship many hypervisor drivers
 %if 0%{?rhel}