]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: disable system_qat for non-x86_64 arch 56000/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 6 Mar 2024 14:25:18 +0000 (09:25 -0500)
committerCasey Bodley <cbodley@redhat.com>
Wed, 6 Mar 2024 14:25:23 +0000 (09:25 -0500)
Fixes: https://tracker.ceph.com/issues/64678
Signed-off-by: Casey Bodley <cbodley@redhat.com>
ceph.spec.in

index ed36746552776f5194cf6bc5e823f6e29510d02d..38dd579868cbce7fbc2b2b1400cff5f62ec9aaec 100644 (file)
 # this is tracked in https://bugzilla.redhat.com/2152265
 %bcond_with system_arrow
 %endif
+# qat only supported for intel devices
+%ifarch x86_64
 %if 0%{?fedora} || 0%{?rhel} >= 9
 %bcond_without system_qat
-%else
+%else # not fedora/rhel
+%bcond_with system_qat
+%endif
+%else # not x86_64
 %bcond_with system_qat
 %endif
 %if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 8 || 0%{?openEuler}