From: Casey Bodley Date: Wed, 10 Aug 2022 22:23:34 +0000 (-0400) Subject: ceph.spec.in: install gcc-toolset-11-libatomic-devel in x86_64 also X-Git-Tag: v18.0.0~288^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F47548%2Fhead;p=ceph.git 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 --- diff --git a/ceph.spec.in b/ceph.spec.in index aa534fd88250..315e72f8ff85 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