Add BuildRequires: gcc-toolset-12-libatomic-devel

This should solve this problem:

```
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Looking for __atomic_load_8 in atomic
-- Looking for __atomic_load_8 in atomic - not found
CMake Error at /usr/lib/cmake/llvm/CheckAtomic.cmake:80 (message):
  Host compiler appears to require libatomic for 64-bit operations, but
  cannot find it.
```

Resolves: rhbz#2118319
This commit is contained in:
Konrad Kleine 2022-10-17 10:24:52 +02:00
parent 56de744e4a
commit 7006dbf8d5

View File

@ -99,6 +99,7 @@ Patch201: 0001-clang-tools-extra-Make-test-dependency-on-LLVMHello-.patch
# to compile clang. # to compile clang.
BuildRequires: gcc-toolset-12-gcc-c++ BuildRequires: gcc-toolset-12-gcc-c++
BuildRequires: gcc-toolset-12-annobin-plugin-gcc BuildRequires: gcc-toolset-12-annobin-plugin-gcc
BuildRequires: gcc-toolset-12-libatomic-devel
BuildRequires: clang BuildRequires: clang
BuildRequires: cmake BuildRequires: cmake
BuildRequires: ninja-build BuildRequires: ninja-build