llvm 11.0.0 - final release

This commit is contained in:
sergesanspaille 2020-10-13 19:03:43 +00:00
parent 892c49fa88
commit e9ab0e502a
4 changed files with 13 additions and 50 deletions

4
.gitignore vendored
View File

@ -103,3 +103,7 @@
/clang-tools-extra-11.0.0rc1.src.tar.xz
/clang-tools-extra-11.0.0rc1.src.tar.xz.sig
/clang-11.0.0rc1.src.tar.xz.sig
/clang-11.0.0.src.tar.xz
/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

View File

@ -1,41 +0,0 @@
From 903c872b169dc88f434cf84c0aee32e429e1cc56 Mon Sep 17 00:00:00 2001
From: Balazs Benics <benicsbalazs@gmail.com>
Date: Fri, 31 Jul 2020 10:28:14 +0200
Subject: [PATCH] [analyzer] Fix out-of-tree only clang build by not relaying
on private header
It turned out that the D78704 included a private LLVM header, which is excluded
from the LLVM install target.
I'm substituting that `#include` with the public one by moving the necessary
`#define` into that. There was a discussion about this at D78704 and on the
cfe-dev mailing list.
I'm also placing a note to remind others of this pitfall.
Reviewed By: mgorny
Differential Revision: https://reviews.llvm.org/D84929
(cherry picked from commit 63d3aeb529a7b0fb95c2092ca38ad21c1f5cfd74)
---
.../StaticAnalyzer/FalsePositiveRefutationBRVisitorTest.cpp | 2 +-
llvm/include/llvm/Config/config.h.cmake | 6 +++---
llvm/include/llvm/Config/llvm-config.h.cmake | 3 +++
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/clang/unittests/StaticAnalyzer/FalsePositiveRefutationBRVisitorTest.cpp b/clang/unittests/StaticAnalyzer/FalsePositiveRefutationBRVisitorTest.cpp
index 7c151c18211..e67dcacca0a 100644
--- a/clang/unittests/StaticAnalyzer/FalsePositiveRefutationBRVisitorTest.cpp
+++ b/clang/unittests/StaticAnalyzer/FalsePositiveRefutationBRVisitorTest.cpp
@@ -16,7 +16,7 @@
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
#include "clang/StaticAnalyzer/Frontend/AnalysisConsumer.h"
#include "clang/StaticAnalyzer/Frontend/CheckerRegistry.h"
-#include "llvm/Config/config.h"
+#include "llvm/Config/llvm-config.h"
#include "gtest/gtest.h"
// FIXME: Use GTEST_SKIP() instead if GTest is updated to version 1.10.0
--
2.18.1

View File

@ -3,8 +3,8 @@
%global maj_ver 11
%global min_ver 0
%global patch_ver 0
%global rc_ver 1
%global baserelease 0.2
#%%global rc_ver 1
%global baserelease 0.3
%global clang_tools_binaries \
%{_bindir}/clang-apply-replacements \
@ -97,8 +97,6 @@ Source4: https://prereleases.llvm.org/%{version}/hans-gpg-key.asc
Patch4: 0002-gtest-reorg.patch
Patch11: 0001-ToolChain-Add-lgcc_s-to-the-linker-flags-when-using-.patch
Patch13: 0001-Make-funwind-tables-the-default-for-all-archs.patch
# This is already in the release/11.x branch and will be included in -rc2.
Patch14: 0001-analyzer-Fix-out-of-tree-only-clang-build-by-not-rel.patch
# Not Upstream
Patch15: 0001-clang-Don-t-install-static-libraries.patch
@ -270,7 +268,6 @@ pathfix.py -i %{__python3} -pn \
%patch4 -p1 -b .gtest
%patch11 -p1 -b .libcxx-fix
%patch13 -p2 -b .unwind-all
%patch14 -p2 -b .test-fix
%patch15 -p2 -b .no-install-static
%patch16 -p2 -b .test-fix2
@ -505,6 +502,9 @@ false
%endif
%changelog
* Tue Oct 13 2020 sguelton@redhat.com - 11.0.0-0.3
- llvm 11.0.0 - final release
* Tue Aug 11 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.2.rc1
- Fix test failures

View File

@ -1,4 +1,4 @@
SHA512 (clang-11.0.0rc1.src.tar.xz) = b526c2a9cd53a928d8c01965a37557999653e7c3af26f97f53dd46f9f1133250ae83bfb84148d5e8cfae9ff728973669f5cca2e1e7cde7a758f577e6e8a214ae
SHA512 (clang-tools-extra-11.0.0rc1.src.tar.xz) = d1edb7ef676fc261ef7fdeab0cd4ae009b575cab416e9b9947705a7e3640c45de73bfc9d87f833770c3f5aca3000f31459fb9bb043aeae6177bf67d104dc4236
SHA512 (clang-tools-extra-11.0.0rc1.src.tar.xz.sig) = 5d884da912f2d3e0b67231d9d08438d430593da1d46f9f878f3cfe710dddb41ae89bb823a05240851de1e6634d219631818a205c85fab76a3373810e2613c758
SHA512 (clang-11.0.0rc1.src.tar.xz.sig) = 68ec822dcba32891aa9166dc70fec8c005b8c704730c23ae3af56edf6094df1d2933e0e96bcbf5c66e0ac1d50e70fb5b2f2cdc1991b73adab581b581815727e6
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