Remove BR for llvm-cmake-devel
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
9e53d177b1
commit
fd5c1b1e1f
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: libcxxabi
|
Name: libcxxabi
|
||||||
Version: %{libcxxabi_version}%{?rc_ver:~rc%{rc_ver}}
|
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
|
Summary: Low level support for a standard C++ library
|
||||||
License: MIT or NCSA
|
License: MIT or NCSA
|
||||||
URL: http://libcxxabi.llvm.org/
|
URL: http://libcxxabi.llvm.org/
|
||||||
@ -19,7 +19,6 @@ Patch1: 0002-PATCH-libcxxabi-Remove-monorepo-requirement.patch
|
|||||||
Patch2: add-llvm-cmake-package.patch
|
Patch2: add-llvm-cmake-package.patch
|
||||||
|
|
||||||
BuildRequires: clang llvm-devel cmake llvm-static ninja-build
|
BuildRequires: clang llvm-devel cmake llvm-static ninja-build
|
||||||
BuildRequires: llvm-cmake-devel
|
|
||||||
BuildRequires: libcxx-devel >= %{version}
|
BuildRequires: libcxx-devel >= %{version}
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
# libcxx-devel has this, so we need to as well.
|
# 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
|
sed -i 's|${LLVM_BINARY_DIR}/share/llvm/cmake|%{_libdir}/cmake/llvm|g' CMakeLists.txt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch armv7hl
|
%ifarch armv7hl riscv64
|
||||||
# Disable LTO on ARM. bfd crashes during some of the CMake compiler checks with:
|
# 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
|
# /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}
|
%global _lto_cflags %{nil}
|
||||||
@ -103,6 +102,12 @@ cp -a include/* %{buildroot}%{_includedir}
|
|||||||
%{_libdir}/libc++abi.a
|
%{_libdir}/libc++abi.a
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Mar 24 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-1
|
||||||
- Update to 14.0.0
|
- Update to 14.0.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user