Compare commits

..

3 Commits
rawhide ... f32

Author SHA1 Message Date
serge-sans-paille b951237934 10.0.1 2020-07-27 12:47:38 +00:00
serge-sans-paille c470ca6613 10.0.0 final 2020-04-04 05:49:14 +00:00
serge-sans-paille b6cc72d113 10.0.0 rc4 2020-03-18 15:31:00 +00:00
4 changed files with 253 additions and 1 deletions

35
.gitignore vendored Normal file
View File

@ -0,0 +1,35 @@
/libcxxabi-3.9.0.src.tar.xz
/libcxxabi-4.0.0.src.tar.xz
/libcxxabi-4.0.1.src.tar.xz
/libcxxabi-5.0.0.src.tar.xz
/libcxxabi-5.0.1.src.tar.xz
/libcxxabi-6.0.0rc1.src.tar.xz
/libcxxabi-6.0.0.src.tar.xz
/libcxxabi-6.0.1.src.tar.xz
/libcxxabi-7.0.0rc3.src.tar.xz
/libcxxabi-7.0.0.src.tar.xz
/libcxxabi-7.0.1.src.tar.xz
/libcxxabi-8.0.0rc1.src.tar.xz
/libcxxabi-8.0.0rc2.src.tar.xz
/libcxxabi-8.0.0rc3.src.tar.xz
/libcxxabi-8.0.0rc4.src.tar.xz
/libcxxabi-8.0.0.src.tar.xz
/libcxxabi-9.0.0.src.tar.xz
/libcxxabi-9.0.1.src.tar.xz
/libcxxabi-10.0.0rc1.src.tar.xz
/libcxxabi-10.0.0rc1.src.tar.xz.sig
/libcxxabi-10.0.0rc2.src.tar.xz
/libcxxabi-10.0.0rc2.src.tar.xz.sig
/libcxxabi-10.0.0rc3.src.tar.xz
/libcxxabi-10.0.0rc3.src.tar.xz.sig
/libcxxabi-10.0.0rc4.src.tar.xz
/libcxxabi-10.0.0rc4.src.tar.xz.sig
/libcxxabi-10.0.0rc5.src.tar.xz
/libcxxabi-10.0.0rc5.src.tar.xz.sig
/libcxxabi-10.0.0rc6.src.tar.xz
/libcxxabi-10.0.0rc6.src.tar.xz.sig
/libcxxabi-10.0.0.src.tar.xz
/libcxxabi-10.0.0.src.tar.xz.sig
/libcxxabi-10.0.1.src.tar.xz
/libcxxabi-10.0.1.src.tar.xz.sig
/hans-gpg-key.asc

View File

@ -1 +0,0 @@
Package merged into libcxx

215
libcxxabi.spec Normal file
View File

@ -0,0 +1,215 @@
#%%global rc_ver 6
%global baserelease 1
%global libcxxabi_srcdir libcxxabi-%{version}%{?rc_ver:rc%{rc_ver}}.src
Name: libcxxabi
Version: 10.0.1
Release: %{baserelease}%{?rc_ver:.rc%{rc_ver}}%{?dist}
Summary: Low level support for a standard C++ library
License: MIT or NCSA
URL: http://libcxxabi.llvm.org/
%if 0%{?rc_ver:1}
Source0: https://prereleases.llvm.org/%{version}/rc%{rc_ver}/%{libcxxabi_srcdir}.tar.xz
Source3: https://prereleases.llvm.org/%{version}/rc%{rc_ver}/%{libcxxabi_srcdir}.tar.xz.sig
%else
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{libcxxabi_srcdir}.tar.xz
Source3: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{libcxxabi_srcdir}.tar.xz.sig
%endif
Source4: https://prereleases.llvm.org/%{version}/hans-gpg-key.asc
BuildRequires: clang llvm-devel cmake llvm-static
BuildRequires: libcxx-devel >= %{version}
%if 0%{?rhel}
# libcxx-devel has this, so we need to as well.
ExcludeArch: ppc64 ppc64le
%endif
%description
libcxxabi provides low level support for a standard C++ library.
%package devel
Summary: Headers and libraries for libcxxabi devel
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
%{summary}.
%package static
Summary: Static libraries for libcxxabi
%description static
%{summary}.
%prep
%setup -q -n %{libcxxabi_srcdir}
sed -i 's|${LLVM_BINARY_DIR}/share/llvm/cmake|%{_libdir}/cmake/llvm|g' CMakeLists.txt
%build
%ifarch armv7hl
# disable ARM exception handling
sed -i 's|#define _LIBCXXABI_ARM_EHABI||g' include/__cxxabi_config.h
%endif
mkdir _build
cd _build
%ifarch s390 s390x
%if 0%{?fedora} < 26
# clang requires z10 at minimum
# workaround until we change the defaults for Fedora
%global optflags %(echo %{optflags} | sed 's/-march=z9-109 /-march=z10 /')
%endif
%endif
# Filter out cflags not supported by clang.
%global optflags %(echo %{optflags} | sed -e 's/-mcet//g' -e 's/-fcf-protection//g' -e 's/-fstack-clash-protection//g')
%cmake .. \
-DCMAKE_C_COMPILER=/usr/bin/clang \
-DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
-DLLVM_CONFIG=%{_bindir}/llvm-config \
-DCMAKE_CXX_FLAGS="-std=c++11" \
-DLIBCXXABI_LIBCXX_INCLUDES=%{_includedir}/c++/v1/ \
%if 0%{?__isa_bits} == 64
-DLIBCXXABI_LIBDIR_SUFFIX:STRING=64 \
%endif
-DCMAKE_BUILD_TYPE=RelWithDebInfo
make %{?_smp_mflags}
%install
cd _build
make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}%{_includedir}
cd ..
cp -a include/* %{buildroot}%{_includedir}
%ldconfig_scriptlets
%files
%license LICENSE.TXT
%doc CREDITS.TXT
%{_libdir}/libc++abi.so.*
%files devel
%{_includedir}/*.h
%{_libdir}/libc++abi.so
%files static
%{_libdir}/libc++abi.a
%changelog
* Mon Jul 27 2020 sguelton@redhat.com - 10.0.1-1
- 10.0.1
* Sat Apr 4 2020 sguelton@redhat.com - 10.0.0-1
- 10.0.0 final
* Sun Mar 15 2020 sguelton@redhat.com - 10.0.0-0.2.rc4
- 10.0.0 rc4
* Fri Jan 31 2020 sguelton@redhat.com - 10.0.0-0.1.rc1
- 10.0.0 rc1
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jan 16 2020 Tom Stellard <tstellar@redhat.com> - 9.0.1-1
- 9.0.1 Release
* Mon Sep 23 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-1
- 9.0.0 Release
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.0-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Mar 25 2019 sguelton@redhat.com - 8.0.0-1
- 8.0.0 Release
* Tue Mar 12 2019 sguelton@redhat.com - 8.0.0-0.4.rc4
- 8.0.0 Release candidate 4
* Mon Mar 4 2019 sguelton@redhat.com - 8.0.0-0.3.rc3
- 8.0.0 Release candidate 3
* Sun Feb 24 2019 sguelton@redhat.com - 8.0.0-0.2.rc2
- 8.0.0 Release candidate 2
* Mon Feb 11 2019 sguelton@redhat.com - 8.0.0-0.1.rc1
- 8.0.0 Release candidate 1
* Wed Feb 6 2019 Tom Callaway <spot@fedoraproject.org> - 7.0.1-2
- remove -fstack-clash-protection
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Dec 17 2018 sguelton@redhat.com - 7.0.1-1
- 7.0.1 Release
* Mon Dec 10 2018 sguelton@redhat.com - 7.0.1-0.1.rc3
- 7.0.1-rc3 Release
* Tue Dec 04 2018 sguelton@redhat.com - 7.0.0-2
- Ensure rpmlint passes on specfile
* Tue Sep 25 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-1
- 7.0.0 Release
* Wed Sep 12 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.1.rc3
- 7.0.0-rc3 Release
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 26 2018 Tom Callaway <spot@fedoraproject.org> - 6.0.1-1
- update to 6.0.1
* Wed Mar 21 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-2
- Use default LDFLAGS/CXXFLAGS/CFLAGS and filter out flags not supported by
clang
* Wed Mar 14 2018 Tom Callaway <spot@fedoraproject.org> - 6.0.0-1
- update to 6.0.0 final
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-0.2.rc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Dec 21 2017 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.1.rc1
- 6.0.1-rc1 Release
* Thu Dec 21 2017 Tom Stellard <tstellar@redhat.com> - 5.0.1-1
- 5.0.1 Release
* Tue Dec 19 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-2
- Fix disabling of ARM exception handling
* Fri Sep 8 2017 Tom Callaway <spot@fedoraproject.org> - 5.0.0-1
- update to 5.0.0
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Jun 23 2017 Tom Callaway <spot@fedoraproject.org> - 4.0.1-1
- update to 4.0.1
* Sat Apr 22 2017 Tom Callaway <spot@fedoraproject.org> - 4.0.0-1
- update to 4.0.0
* Mon Feb 20 2017 Tom Callaway <spot@fedoraproject.org> - 3.9.0-1
- update to 3.9.0
- apply fixes from libcxx
* Wed Sep 7 2016 Tom Callaway <spot@fedoraproject.org> - 3.8.1-1
- update to 3.8.1
* Mon Jul 25 2016 Tom Callaway <spot@fedoraproject.org> - 3.8.0-2
- make static subpackage
* Tue May 3 2016 Tom Callaway <spot@fedoraproject.org> - 3.8.0-1
- initial package

3
sources Normal file
View File

@ -0,0 +1,3 @@
SHA512 (libcxxabi-10.0.1.src.tar.xz) = 1c58081e11746d5b63123dfb81b562eba925b31dc1a09413663c622a2cd56e8d17a2f184f6c3d78be292719fcc13f08aecaf9442f15b50682bd031416fe58a45
SHA512 (libcxxabi-10.0.1.src.tar.xz.sig) = 8b06d5b26e67eecbc7bd3b553698daf5c928bcbdea593a27d455bb4e51f4289bf4d15af402b22e6d7b245df58ef71bc0579994baf2f3e63bdd0b1e5d04ef9b0b
SHA512 (hans-gpg-key.asc) = dc481fe1fe8ffcf5f7853b346739e4c9f7f2447e6e2752447babb520240d769559e767d732b7943dfed4f971d17cccefd7a00cb4e0a9d39c5215859226998519