Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/clang.git#8c1d8074da67b176cd44f9b249df72eafe3f91ea
This commit is contained in:
DistroBaker 2020-12-18 10:32:29 +00:00
parent e4232b6ae3
commit ff442be936
4 changed files with 25 additions and 8 deletions

4
.gitignore vendored
View File

@ -123,3 +123,7 @@
/clang-11.0.0.src.tar.xz.sig
/clang-tools-extra-11.0.0.src.tar.xz
/clang-tools-extra-11.0.0.src.tar.xz.sig
/clang-11.0.1rc1.src.tar.xz
/clang-11.0.1rc1.src.tar.xz.sig
/clang-tools-extra-11.0.1rc1.src.tar.xz
/clang-tools-extra-11.0.1rc1.src.tar.xz.sig

View File

@ -2,9 +2,9 @@
%global maj_ver 11
%global min_ver 0
%global patch_ver 0
#%%global rc_ver 6
%global baserelease 3
%global patch_ver 1
%global rc_ver 1
%global baserelease 2
%global clang_tools_binaries \
%{_bindir}/clang-apply-replacements \
@ -83,7 +83,7 @@ Source3: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{versio
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{clang_tools_srcdir}.tar.xz
Source2: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{clang_tools_srcdir}.tar.xz.sig
%endif
Source4: https://prereleases.llvm.org/%{version}/hans-gpg-key.asc
Source4: tstellar-gpg-key.asc
Patch4: 0002-gtest-reorg.patch
Patch11: 0001-ToolChain-Add-lgcc_s-to-the-linker-flags-when-using-.patch
@ -172,6 +172,10 @@ The goal of the Clang project is to create a new C, C++, Objective C
and Objective C++ front-end for the LLVM compiler. Its tools are built
as libraries and designed to be loosely-coupled and extensible.
Install compiler-rt if you want the Blocks C language extension or to
enable sanitization and profiling options when building, and
libomp-devel to enable -fopenmp.
%package libs
Summary: Runtime library for clang
Requires: %{name}-resource-filesystem%{?_isa} = %{version}
@ -292,6 +296,9 @@ pathfix.py -i %{__python3} -pn \
%global _lto_cflags %(echo %{_lto_cflags} | sed 's/-ffat-lto-objects//')
%endif
# lto builds with gcc 11 fail while running the lit tests.
%define _lto_cflags %{nil}
%if 0%{?__isa_bits} == 64
sed -i 's/\@FEDORA_LLVM_LIB_SUFFIX\@/64/g' test/lit.cfg.py
%else
@ -521,6 +528,12 @@ false
%endif
%changelog
* Wed Dec 16 2020 Tom Stellard <tstellar@redhat.com> - 11.0.1-2.rc1
- Don't build with -flto
* Tue Dec 01 2020 sguelton@redhat.com - 11.0.1-1.rc1
- llvm 11.0.1-rc1
* Thu Oct 29 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-3
- Remove -ffat-lto-objects compiler flag

View File

@ -1,4 +1,4 @@
SHA512 (clang-11.0.0.src.tar.xz) = 5874d99d05aa6ac0a7f5131a8522440ca1fc332a63cbfbf92f844ecb03e7f698a1839106fe6d1c8efaa839d03a4547cda5ab40f445d9923b99907d8cf1988276
SHA512 (clang-11.0.0.src.tar.xz.sig) = 359cd91ddfa3894b00683ce51fc0e7035c6dd03a78d70f6bf3355714dfab2e85183a38c60ab318f3b439efb457c2759c74b58d5a5412fcacaedbb90e2492aa54
SHA512 (clang-tools-extra-11.0.0.src.tar.xz) = 48d3ae04556f2c3102462053e40e228ddfffb7d19f20552faa18acea763d8d568cf65232cbb4ae03505dcb8b626eb3516b5c5004f5ca1c556129510872e28fc1
SHA512 (clang-tools-extra-11.0.0.src.tar.xz.sig) = 37c5950a1c7a7a0a538441c76908d234a23bb06f8fe0b1451fbcfe35fab7fe7dc8c83bc8a23933e6e865d117ed7fd929529e85ef4e95e66aea7242040fface69
SHA512 (clang-11.0.1rc1.src.tar.xz) = ced48f5ef548c66058cc113b988df3a8e5255f8df6f12e1205b420905712597cb9be637502ea2baa8542047c2b2fad8a35c33c4fa257217856eb1b6ad96773c1
SHA512 (clang-11.0.1rc1.src.tar.xz.sig) = 6eaa1812fd930b20ed2de705cb80071b63915dc1bcbf6ac85e0eaa2733c735a81a372a6d34aa4c9b1f2ec9b7e47db5228b2fc8b526306e0fdce9622cd0614ac0
SHA512 (clang-tools-extra-11.0.1rc1.src.tar.xz) = 608d2f2da09a9129f3bc63c895c15cf95fffafb74e1c0256486318727826960fd0b5bc73e72760b80980b037173f49f7662f1f77e2a091fb1dac7b3b3f943755
SHA512 (clang-tools-extra-11.0.1rc1.src.tar.xz.sig) = 6d7f2a2016155642f16960797383cf3614f9f214b65e49e0ca7a07bec7e30409f9f1e31eeee965abac596a9d2d93d90358aecbc70562159f8abf5dff2888935b

BIN
tstellar-gpg-key.asc Normal file

Binary file not shown.