]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
rpm: disable some features on riscv64
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 5 Oct 2018 12:59:31 +0000 (13:59 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 5 Oct 2018 12:59:31 +0000 (13:59 +0100)
numctl, numad and zfs-fuse are not available on riscv64 targets

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

index 667f89c0b968bbc838033aa96148978d316c4ff3..90daefe6f16cf119b121a1dbe96e0c28b741b5e6 100644 (file)
     %define with_vbox 0
 %endif
 
-# Numactl is not available on s390[x] and ARM
-%ifarch s390 s390x %{arm}
+# Numactl is not available on many non-x86 archs
+%ifarch s390 s390x %{arm} riscv64
     %define with_numactl 0
 %endif
 
 # zfs-fuse is not available on some architectures
-%ifarch s390 s390x aarch64
+%ifarch s390 s390x aarch64 riscv64
     %define with_storage_zfs 0
 %endif
 
 
 %if %{with_qemu} || %{with_lxc} || %{with_uml}
 # numad is used to manage the CPU and memory placement dynamically,
-# it's not available on s390[x] and ARM.
-    %ifnarch s390 s390x %{arm}
+# it's not available on many non-x86 architectures.
+    %ifnarch s390 s390x %{arm} riscv64
         %define with_numad    0%{!?_without_numad:1}
     %endif
 %endif