Remove BR for llvm-cmake-devel

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2022-08-25 16:35:10 +03:00
parent 9e53d177b1
commit fd5c1b1e1f
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 8 additions and 3 deletions

View File

@ -6,7 +6,7 @@
Name: libcxxabi
Version: %{libcxxabi_version}%{?rc_ver:~rc%{rc_ver}}
Release: 1%{?dist}
Release: 1.1.riscv64%{?dist}
Summary: Low level support for a standard C++ library
License: MIT or NCSA
URL: http://libcxxabi.llvm.org/
@ -19,7 +19,6 @@ Patch1: 0002-PATCH-libcxxabi-Remove-monorepo-requirement.patch
Patch2: add-llvm-cmake-package.patch
BuildRequires: clang llvm-devel cmake llvm-static ninja-build
BuildRequires: llvm-cmake-devel
BuildRequires: libcxx-devel >= %{version}
%if 0%{?rhel}
# libcxx-devel has this, so we need to as well.
@ -52,7 +51,7 @@ Summary: Static libraries for libcxxabi
sed -i 's|${LLVM_BINARY_DIR}/share/llvm/cmake|%{_libdir}/cmake/llvm|g' CMakeLists.txt
%build
%ifarch armv7hl
%ifarch armv7hl riscv64
# Disable LTO on ARM. bfd crashes during some of the CMake compiler checks with:
# /usr/bin/ld: BFD version 2.35-10.fc33 internal error, aborting at elfcode.h:224 in bfd_elf32_swap_symbol_out
%global _lto_cflags %{nil}
@ -103,6 +102,12 @@ cp -a include/* %{buildroot}%{_includedir}
%{_libdir}/libc++abi.a
%changelog
* Thu Aug 24 2022 David Abdurachmanov <davidlt@rivosinc.com> - 14.0.0-1.1.riscv64
- Remove BR for llvm-cmake-devel
* Thu Aug 24 2022 David Abdurachmanov <davidlt@rivosinc.com> - 14.0.0-1.0.riscv64
- Disable LTO on riscv64
* Thu Mar 24 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-1
- Update to 14.0.0