6.0.0-rc1 Release

This commit is contained in:
Tom Stellard 2018-01-26 00:04:58 +00:00
parent 90ffd5ac54
commit d4ed69c9f1
3 changed files with 15 additions and 27 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@
/compiler-rt-5.0.0.src.tar.xz /compiler-rt-5.0.0.src.tar.xz
/Fuzzer-5.0.1.tar.xz /Fuzzer-5.0.1.tar.xz
/compiler-rt-5.0.1.src.tar.xz /compiler-rt-5.0.1.src.tar.xz
/compiler-rt-6.0.0rc1.src.tar.xz

View File

@ -3,22 +3,16 @@
%global debug_package %{nil} %global debug_package %{nil}
%endif %endif
%global rc_ver 1
Name: compiler-rt Name: compiler-rt
Version: 5.0.1 Version: 6.0.0
Release: 2%{?dist} Release: 0.1.rc%{rc_ver}%{?dist}
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: http://llvm.org/releases/%{version}/%{name}-%{version}.src.tar.xz Source0: http://llvm.org/releases/%{version}/%{name}-%{version}%{?rc_ver:rc%{rc_ver}}.src.tar.xz
# Extract libFuzzer sources from the llvm tarball. We are packaging it as part
# of compiler-rt, because upstream moved the code into the compiler-rt project
# for LLVM 6.0.0.
# wget http://llvm.org/releases/5.0.1/llvm-5.0.1.src.tar.xz
# tar -xJf llvm-5.0.1.src.tar.xz
# cd llvm-5.0.1.src/lib/
# tar -cJf Fuzzer-5.0.1.tar.xz Fuzzer/
Source1: Fuzzer-5.0.1.tar.xz
Patch1: 0001-Fix-AArch64-build-with-glibc-2.26.patch Patch1: 0001-Fix-AArch64-build-with-glibc-2.26.patch
BuildRequires: cmake BuildRequires: cmake
@ -33,9 +27,7 @@ code generation, sanitizer runtimes and profiling library for code
instrumentation, and Blocks C language extension. instrumentation, and Blocks C language extension.
%prep %prep
%setup -T -q -b 1 -n Fuzzer %autosetup -n %{name}-%{version}%{?rc_ver:rc%{rc_ver}}.src -p1
%autosetup -n %{name}-%{version}.src -p1
%build %build
mkdir -p _build mkdir -p _build
@ -53,24 +45,17 @@ cd _build
make %{?_smp_mflags} make %{?_smp_mflags}
# Build Fuzzer with gcc
export CXX=g++
pushd ../../Fuzzer
./build.sh
popd
%install %install
cd _build cd _build
make install DESTDIR=%{buildroot} make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}%{_libdir}/clang/%{version}/lib mkdir -p %{buildroot}%{_libdir}/clang/%{version}/lib
pushd ../../Fuzzer %ifarch aarch64
install -m0644 libFuzzer.a %{buildroot}%{_libdir}/clang/%{version}/lib %global aarch64_blacklists hwasan_blacklist.txt
popd %endif
# move sanitizer lists to better place for file in %{aarch64_blacklists} asan_blacklist.txt msan_blacklist.txt dfsan_blacklist.txt cfi_blacklist.txt dfsan_abilist.txt; do
for file in asan_blacklist.txt msan_blacklist.txt dfsan_blacklist.txt cfi_blacklist.txt dfsan_abilist.txt; do
mv -v %{buildroot}%{_prefix}/${file} %{buildroot}%{_libdir}/clang/%{version}/ || : mv -v %{buildroot}%{_prefix}/${file} %{buildroot}%{_libdir}/clang/%{version}/ || :
done done
@ -91,6 +76,9 @@ cd _build
%{_libdir}/clang/%{version} %{_libdir}/clang/%{version}
%changelog %changelog
* Thu Jan 25 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.1.rc1
- 6.0.0-rc1 Release
* Wed Jan 17 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-2 * Wed Jan 17 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-2
- Build libFuzzer with gcc - Build libFuzzer with gcc

View File

@ -1,2 +1 @@
SHA512 (Fuzzer-5.0.1.tar.xz) = 397dbb8eda705288b8527f4e8f56175f49e65d364c2a1e0bcb6e90bac74a728eaa321f8ce5603811d1278b33d32223ed3640aec5cfb166659522e883cc1d9de2 SHA512 (compiler-rt-6.0.0rc1.src.tar.xz) = 2b223487154035bb4b83775f871e9017fcffb6078e704b6a33abc93ad5f0641742f41776c42526423a72805ed3226c2a48d71bbb9ce4f7d3de29d13f0dcd00d0
SHA512 (compiler-rt-5.0.1.src.tar.xz) = 61e23775db78bdeed3003a509b45ae609287db31302fed186f3210d481ecf062d1828571e63482215ab00ff732df8f3fa6c77334dfb677e4b76eb555d476b8c4