From a46db91ef4631b58afb4fbcba01deea35a7c2a09 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Wed, 10 Aug 2022 18:23:34 -0400 Subject: [PATCH] ceph.spec.in: install gcc-toolset-11-libatomic-devel in x86_64 also otherwise after enabling gcc-toolset-11, cmake fails with: - Performing Test HAVE_LIBATOMIC - Failed CMake Error at cmake/modules/CheckCxxAtomic.cmake:66 (message): Host compiler /opt/rh/gcc-toolset-11/root/usr/bin/g++ requires libatomic, but it is not found Signed-off-by: Casey Bodley --- ceph.spec.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index aa534fd8825..315e72f8ff8 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -209,10 +209,8 @@ BuildRequires: gcc-c++ >= 11 %if 0%{?rhel} == 8 BuildRequires: %{gts_prefix}-gcc-c++ BuildRequires: %{gts_prefix}-build -%ifarch aarch64 BuildRequires: %{gts_prefix}-libatomic-devel %endif -%endif %if 0%{?fedora} || 0%{?rhel} == 9 BuildRequires: libatomic %endif -- 2.39.5