From 25ce4845f57d1771742672754ba3633622006615 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Wed, 6 Mar 2024 09:25:18 -0500 Subject: [PATCH] rpm: disable system_qat for non-x86_64 arch Fixes: https://tracker.ceph.com/issues/64678 Signed-off-by: Casey Bodley --- ceph.spec.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index ed3674655277..38dd579868cb 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} -- 2.47.3