!6 回退 'Pull Request !5 : Upgrade to latest version of compiler-rt'

Merge pull request !6 from 惊奇脆片饼干/revert-merge-5-master
This commit is contained in:
惊奇脆片饼干 2020-07-07 16:16:38 +08:00 committed by Gitee
commit 551332ce84
3 changed files with 6 additions and 9 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,10 +1,12 @@
%global crt_srcdir compiler-rt-%{version}%{?rc_ver:rc%{rc_ver}}.src
Name: compiler-rt Name: compiler-rt
Version: 10.0.0 Version: 7.0.0
Release: 0 Release: 2
Summary: LLVM "compiler-rt" runtime libraries Summary: LLVM "compiler-rt" runtime libraries
License: NCSA or MIT License: NCSA or MIT
URL: http://llvm.org URL: http://llvm.org
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{name}-%{version}.src.tar.xz Source0: http://llvm.org/releases/%{version}/%{crt_srcdir}.tar.xz
BuildRequires: gcc gcc-c++ cmake python3 python3-devel BuildRequires: gcc gcc-c++ cmake python3 python3-devel
BuildRequires: llvm-devel = %{version} llvm-static = %{version} BuildRequires: llvm-devel = %{version} llvm-static = %{version}
@ -15,7 +17,7 @@ calls generated when a target doesn't have a short sequence of native
instructions to implement a core IR operation. instructions to implement a core IR operation.
%prep %prep
%autosetup -n %{name}-%{version}.src -p1 %autosetup -n %{crt_srcdir} -p1
pathfix.py -i %{__python3} -pn . pathfix.py -i %{__python3} -pn .
%build %build
@ -50,7 +52,6 @@ for file in %{aarch64_blacklists} asan_blacklist.txt msan_blacklist.txt dfsan_bl
done done
mv -v %{buildroot}%{_prefix}/lib/linux/libclang_rt* %{buildroot}%{_libdir}/clang/%{version}/lib mv -v %{buildroot}%{_prefix}/lib/linux/libclang_rt* %{buildroot}%{_libdir}/clang/%{version}/lib
mv -v %{buildroot}%{_prefix}/lib/linux/clang_rt* %{buildroot}%{_libdir}/clang/%{version}/lib
mkdir -p %{buildroot}%{_libdir}/clang/%{version}/lib/linux/ mkdir -p %{buildroot}%{_libdir}/clang/%{version}/lib/linux/
pushd %{buildroot}%{_libdir}/clang/%{version}/lib pushd %{buildroot}%{_libdir}/clang/%{version}/lib
for i in *.a *.syms *.so; do for i in *.a *.syms *.so; do
@ -63,13 +64,9 @@ cd _build
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%license LICENSE.TXT %license LICENSE.TXT
%{_bindir}/hwasan_symbolize
%{_includedir}/* %{_includedir}/*
%{_libdir}/clang/%{version} %{_libdir}/clang/%{version}
%changelog %changelog
* Thu Jun 04 2020 SimpleUpdate Robot <tc@openeuler.org> - 10.0.0-0
- Update to version 10.0.0
* Thu Dec 5 2019 openEuler Buildteam <buildteam@openeuler.org> - 7.0.0-2 * Thu Dec 5 2019 openEuler Buildteam <buildteam@openeuler.org> - 7.0.0-2
- Package init - Package init