From: Casey Bodley Date: Wed, 6 Mar 2024 14:25:18 +0000 (-0500) Subject: rpm: disable system_qat for non-x86_64 arch X-Git-Tag: v20.0.0~2460^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=25ce4845f57d1771742672754ba3633622006615;p=ceph.git rpm: disable system_qat for non-x86_64 arch Fixes: https://tracker.ceph.com/issues/64678 Signed-off-by: Casey Bodley --- diff --git a/ceph.spec.in b/ceph.spec.in index ed367465527..38dd579868c 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -111,9 +111,14 @@ # 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}