Bootstrap on riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
914f23dc2f
commit
513060da73
|
@ -1,4 +1,6 @@
|
||||||
|
%ifnarch riscv64
|
||||||
%global toolchain clang
|
%global toolchain clang
|
||||||
|
%endif
|
||||||
%global libcxxabi_version 15.0.0
|
%global libcxxabi_version 15.0.0
|
||||||
#global rc_ver 3
|
#global rc_ver 3
|
||||||
%global libcxxabi_srcdir libcxxabi-%{libcxxabi_version}%{?rc_ver:rc%{rc_ver}}.src
|
%global libcxxabi_srcdir libcxxabi-%{libcxxabi_version}%{?rc_ver:rc%{rc_ver}}.src
|
||||||
|
@ -6,7 +8,7 @@
|
||||||
|
|
||||||
Name: libcxxabi
|
Name: libcxxabi
|
||||||
Version: %{libcxxabi_version}%{?rc_ver:~rc%{rc_ver}}
|
Version: %{libcxxabi_version}%{?rc_ver:~rc%{rc_ver}}
|
||||||
Release: 2%{?dist}
|
Release: 2.0.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/
|
||||||
|
@ -56,6 +58,10 @@ Summary: Static libraries for libcxxabi
|
||||||
sed -i 's|#define _LIBCXXABI_ARM_EHABI||g' include/__cxxabi_config.h
|
sed -i 's|#define _LIBCXXABI_ARM_EHABI||g' include/__cxxabi_config.h
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%ifarch riscv64
|
||||||
|
%global _lto_cflags %{nil}
|
||||||
|
%endif
|
||||||
|
|
||||||
%ifarch s390 s390x
|
%ifarch s390 s390x
|
||||||
%if 0%{?fedora} < 26
|
%if 0%{?fedora} < 26
|
||||||
# clang requires z10 at minimum
|
# clang requires z10 at minimum
|
||||||
|
@ -95,6 +101,9 @@ sed -i 's|#define _LIBCXXABI_ARM_EHABI||g' include/__cxxabi_config.h
|
||||||
%{_libdir}/libc++abi.a
|
%{_libdir}/libc++abi.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 07 2022 David Abdurachmanov <davidlt@rivosinc.com> - 15.0.0-2.0.riscv64
|
||||||
|
- Bootstrap on riscv64
|
||||||
|
|
||||||
* Mon Sep 12 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-2
|
* Mon Sep 12 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-2
|
||||||
- Don't pass explicit CMAKE_CXX_FLAGS
|
- Don't pass explicit CMAKE_CXX_FLAGS
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue