Update to LLVM 15.0.1
Resolves: rhbz#2118319
This commit is contained in:
parent
71c2831ed8
commit
47482714be
10
.gitignore
vendored
10
.gitignore
vendored
@ -194,3 +194,13 @@
|
|||||||
/clang-14.0.6.src.tar.xz
|
/clang-14.0.6.src.tar.xz
|
||||||
/clang-tools-extra-14.0.6.src.tar.xz
|
/clang-tools-extra-14.0.6.src.tar.xz
|
||||||
/clang-tools-extra-14.0.6.src.tar.xz.sig
|
/clang-tools-extra-14.0.6.src.tar.xz.sig
|
||||||
|
/clang-15.0.0.src.tar.xz
|
||||||
|
/clang-15.0.0.src.tar.xz.sig
|
||||||
|
/clang-tools-extra-15.0.0.src.tar.xz
|
||||||
|
/clang-tools-extra-15.0.0.src.tar.xz.sig
|
||||||
|
/llvm-14.0.6.src.tar.xz
|
||||||
|
/llvm-14.0.6.src.tar.xz.sig
|
||||||
|
/clang-15.0.1.src.tar.xz
|
||||||
|
/clang-15.0.1.src.tar.xz.sig
|
||||||
|
/clang-tools-extra-15.0.1.src.tar.xz
|
||||||
|
/clang-tools-extra-15.0.1.src.tar.xz.sig
|
||||||
|
@ -0,0 +1,82 @@
|
|||||||
|
From 1d639f1379fc052b8437284955b1cb0baf880894 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Tom Stellard <tstellar@redhat.com>
|
||||||
|
Date: Fri, 1 Jul 2022 21:24:17 -0700
|
||||||
|
Subject: clang-tools-extra: Make test dependency on LLVMHello optional
|
||||||
|
|
||||||
|
This fixes clang + clang-tools-extra standalone build after
|
||||||
|
36892727e4f19a60778e371d78f8fb09d8122c85.
|
||||||
|
---
|
||||||
|
clang-tools-extra/test/CMakeLists.txt | 10 +++++++++-
|
||||||
|
clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp | 2 +-
|
||||||
|
clang-tools-extra/test/lit.cfg.py | 3 +++
|
||||||
|
clang-tools-extra/test/lit.site.cfg.py.in | 1 +
|
||||||
|
4 files changed, 14 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/clang-tools-extra/test/CMakeLists.txt b/clang-tools-extra/test/CMakeLists.txt
|
||||||
|
index f4c529ee8af2..1cfb4dd529aa 100644
|
||||||
|
--- a/clang-tools-extra/test/CMakeLists.txt
|
||||||
|
+++ b/clang-tools-extra/test/CMakeLists.txt
|
||||||
|
@@ -7,10 +7,15 @@
|
||||||
|
set(CLANG_TOOLS_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/..")
|
||||||
|
set(CLANG_TOOLS_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/..")
|
||||||
|
|
||||||
|
+if (TARGET LLVMHello)
|
||||||
|
+ set (LLVM_HAS_LLVM_HELLO 1)
|
||||||
|
+endif()
|
||||||
|
+
|
||||||
|
llvm_canonicalize_cmake_booleans(
|
||||||
|
CLANG_TIDY_ENABLE_STATIC_ANALYZER
|
||||||
|
CLANG_PLUGIN_SUPPORT
|
||||||
|
LLVM_INSTALL_TOOLCHAIN_ONLY
|
||||||
|
+ LLVM_HAS_LLVM_HELLO
|
||||||
|
)
|
||||||
|
|
||||||
|
configure_lit_site_cfg(
|
||||||
|
@@ -86,7 +91,10 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(TARGET CTTestTidyModule)
|
||||||
|
- list(APPEND CLANG_TOOLS_TEST_DEPS CTTestTidyModule LLVMHello)
|
||||||
|
+ list(APPEND CLANG_TOOLS_TEST_DEPS CTTestTidyModule)
|
||||||
|
+ if (TARGET LLVMHello)
|
||||||
|
+ list(APPEND CLANG_TOOLS_TEST_DEPS CTTestTidyModule)
|
||||||
|
+ endif()
|
||||||
|
target_include_directories(CTTestTidyModule PUBLIC BEFORE "${CLANG_TOOLS_SOURCE_DIR}")
|
||||||
|
if(CLANG_PLUGIN_SUPPORT AND (WIN32 OR CYGWIN))
|
||||||
|
set(LLVM_LINK_COMPONENTS
|
||||||
|
diff --git a/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp b/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
|
||||||
|
index c66a94f458cf..b4e7a5d691e5 100644
|
||||||
|
--- a/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
|
||||||
|
+++ b/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-// REQUIRES: plugins
|
||||||
|
+// REQUIRES: plugins, llvm-hello
|
||||||
|
// RUN: clang-tidy -checks='-*,mytest*' --list-checks -load %llvmshlibdir/CTTestTidyModule%pluginext -load %llvmshlibdir/LLVMHello%pluginext | FileCheck --check-prefix=CHECK-LIST %s
|
||||||
|
// CHECK-LIST: Enabled checks:
|
||||||
|
// CHECK-LIST-NEXT: mytest1
|
||||||
|
diff --git a/clang-tools-extra/test/lit.cfg.py b/clang-tools-extra/test/lit.cfg.py
|
||||||
|
index 9b99bfd93440..3fca9f25fb48 100644
|
||||||
|
--- a/clang-tools-extra/test/lit.cfg.py
|
||||||
|
+++ b/clang-tools-extra/test/lit.cfg.py
|
||||||
|
@@ -59,3 +59,6 @@ config.substitutions.append(
|
||||||
|
# Plugins (loadable modules)
|
||||||
|
if config.has_plugins and config.llvm_plugin_ext:
|
||||||
|
config.available_features.add('plugins')
|
||||||
|
+
|
||||||
|
+if config.has_llvm_hello:
|
||||||
|
+ config.available_features.add("llvm-hello")
|
||||||
|
diff --git a/clang-tools-extra/test/lit.site.cfg.py.in b/clang-tools-extra/test/lit.site.cfg.py.in
|
||||||
|
index 4eb830a1baf1..6e5559348454 100644
|
||||||
|
--- a/clang-tools-extra/test/lit.site.cfg.py.in
|
||||||
|
+++ b/clang-tools-extra/test/lit.site.cfg.py.in
|
||||||
|
@@ -11,6 +11,7 @@ config.target_triple = "@LLVM_TARGET_TRIPLE@"
|
||||||
|
config.host_triple = "@LLVM_HOST_TRIPLE@"
|
||||||
|
config.clang_tidy_staticanalyzer = @CLANG_TIDY_ENABLE_STATIC_ANALYZER@
|
||||||
|
config.has_plugins = @CLANG_PLUGIN_SUPPORT@ & ~@LLVM_INSTALL_TOOLCHAIN_ONLY@
|
||||||
|
+config.has_llvm_hello = @LLVM_HAS_LLVM_HELLO@
|
||||||
|
# Support substitution of the tools and libs dirs with user parameters. This is
|
||||||
|
# used when we can't determine the tool dir at configuration time.
|
||||||
|
config.llvm_tools_dir = lit_config.substitute("@LLVM_TOOLS_DIR@")
|
||||||
|
--
|
||||||
|
2.37.1
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
From 3dc5722d5c7673a879f2b4680369d3ac8b6b64b6 Mon Sep 17 00:00:00 2001
|
From 7a37612c872ed2ce047adc85ef8eaa119ef6632f Mon Sep 17 00:00:00 2001
|
||||||
From: Tom Stellard <tstellar@redhat.com>
|
From: Tom Stellard <tstellar@redhat.com>
|
||||||
Date: Wed, 4 Aug 2021 14:05:38 -0700
|
Date: Wed, 4 Aug 2021 14:05:38 -0700
|
||||||
Subject: [PATCH] cmake: Allow shared libraries to customize the soname using
|
Subject: cmake: Allow shared libraries to customize the soname using
|
||||||
LLVM_ABI_REVISION
|
LLVM_ABI_REVISION
|
||||||
|
|
||||||
The LLVM_ABI_REVISION variable is intended to be used for release
|
The LLVM_ABI_REVISION variable is intended to be used for release
|
||||||
@ -19,7 +19,7 @@ meant to be used in the release branch.
|
|||||||
Differential Revision: https://reviews.llvm.org/D105594
|
Differential Revision: https://reviews.llvm.org/D105594
|
||||||
---
|
---
|
||||||
clang/tools/clang-shlib/CMakeLists.txt | 5 +++++
|
clang/tools/clang-shlib/CMakeLists.txt | 5 +++++
|
||||||
3 files changed, 19 insertions(+), 2 deletions(-)
|
1 file changed, 5 insertions(+)
|
||||||
|
|
||||||
diff --git a/clang/tools/clang-shlib/CMakeLists.txt b/clang/tools/clang-shlib/CMakeLists.txt
|
diff --git a/clang/tools/clang-shlib/CMakeLists.txt b/clang/tools/clang-shlib/CMakeLists.txt
|
||||||
index 9c1f8ea452b3..4d785924e4bb 100644
|
index 9c1f8ea452b3..4d785924e4bb 100644
|
||||||
@ -35,5 +35,5 @@ index 9c1f8ea452b3..4d785924e4bb 100644
|
|||||||
if (NOT LLVM_ENABLE_PIC)
|
if (NOT LLVM_ENABLE_PIC)
|
||||||
return()
|
return()
|
||||||
--
|
--
|
||||||
2.27.0
|
2.37.1
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
From d68a5a7817dc0d43853d8b84c9185dc24338664f Mon Sep 17 00:00:00 2001
|
From ccf3e4407e7a5c4c1f2e41c89aad9f86a9c7d81d Mon Sep 17 00:00:00 2001
|
||||||
From: Tom Stellard <tstellar@redhat.com>
|
From: Tom Stellard <tstellar@redhat.com>
|
||||||
Date: Wed, 6 Oct 2021 05:32:44 +0000
|
Date: Wed, 6 Oct 2021 05:32:44 +0000
|
||||||
Subject: [PATCH] Driver: Add a gcc equivalent triple to the list of triples to
|
Subject: Driver: Add a gcc equivalent triple to the list of triples to search
|
||||||
search
|
|
||||||
|
|
||||||
There are some gcc triples, like x86_64-redhat-linux, that provide the
|
There are some gcc triples, like x86_64-redhat-linux, that provide the
|
||||||
same behavior as a clang triple with a similar name (e.g.
|
same behavior as a clang triple with a similar name (e.g.
|
||||||
@ -15,10 +14,10 @@ Differential Revision: https://reviews.llvm.org/D111207
|
|||||||
1 file changed, 22 insertions(+)
|
1 file changed, 22 insertions(+)
|
||||||
|
|
||||||
diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp
|
diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp
|
||||||
index fe5bda5c6605..fd4a7f72be14 100644
|
index f203cae1d329..12fa2da3187e 100644
|
||||||
--- a/clang/lib/Driver/ToolChains/Gnu.cpp
|
--- a/clang/lib/Driver/ToolChains/Gnu.cpp
|
||||||
+++ b/clang/lib/Driver/ToolChains/Gnu.cpp
|
+++ b/clang/lib/Driver/ToolChains/Gnu.cpp
|
||||||
@@ -1884,6 +1884,18 @@ static llvm::StringRef getGCCToolchainDir(const ArgList &Args,
|
@@ -1969,6 +1969,18 @@ static llvm::StringRef getGCCToolchainDir(const ArgList &Args,
|
||||||
return GCC_INSTALL_PREFIX;
|
return GCC_INSTALL_PREFIX;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -37,7 +36,7 @@ index fe5bda5c6605..fd4a7f72be14 100644
|
|||||||
/// Initialize a GCCInstallationDetector from the driver.
|
/// Initialize a GCCInstallationDetector from the driver.
|
||||||
///
|
///
|
||||||
/// This performs all of the autodetection and sets up the various paths.
|
/// This performs all of the autodetection and sets up the various paths.
|
||||||
@@ -1904,6 +1916,16 @@ void Generic_GCC::GCCInstallationDetector::init(
|
@@ -1989,6 +2001,16 @@ void Generic_GCC::GCCInstallationDetector::init(
|
||||||
// The compatible GCC triples for this particular architecture.
|
// The compatible GCC triples for this particular architecture.
|
||||||
SmallVector<StringRef, 16> CandidateTripleAliases;
|
SmallVector<StringRef, 16> CandidateTripleAliases;
|
||||||
SmallVector<StringRef, 16> CandidateBiarchTripleAliases;
|
SmallVector<StringRef, 16> CandidateBiarchTripleAliases;
|
||||||
@ -55,5 +54,5 @@ index fe5bda5c6605..fd4a7f72be14 100644
|
|||||||
CandidateTripleAliases, CandidateBiarchLibDirs,
|
CandidateTripleAliases, CandidateBiarchLibDirs,
|
||||||
CandidateBiarchTripleAliases);
|
CandidateBiarchTripleAliases);
|
||||||
--
|
--
|
||||||
2.26.2
|
2.37.1
|
||||||
|
|
29
0003-Mark-fopenmp-implicit-rpath-as-NoArgumentUnused.patch
Normal file
29
0003-Mark-fopenmp-implicit-rpath-as-NoArgumentUnused.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From 1d224b408bc6754bcea9e0b226d6c440f5a4f8fd Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nikita Popov <npopov@redhat.com>
|
||||||
|
Date: Fri, 2 Sep 2022 16:30:15 +0200
|
||||||
|
Subject: Mark fopenmp-implicit-rpath as NoArgumentUnused
|
||||||
|
|
||||||
|
We pass this option unconditionally in LDFLAGS, make sure this
|
||||||
|
does not warn if openmp is not used, as this may break some
|
||||||
|
build systems.
|
||||||
|
---
|
||||||
|
clang/include/clang/Driver/Options.td | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td
|
||||||
|
index 3cab37b21aaf..4452364f92da 100644
|
||||||
|
--- a/clang/include/clang/Driver/Options.td
|
||||||
|
+++ b/clang/include/clang/Driver/Options.td
|
||||||
|
@@ -4116,7 +4116,8 @@ defm openmp_implicit_rpath: BoolFOption<"openmp-implicit-rpath",
|
||||||
|
LangOpts<"OpenMP">,
|
||||||
|
DefaultTrue,
|
||||||
|
PosFlag<SetTrue, [], "Set rpath on OpenMP executables">,
|
||||||
|
- NegFlag<SetFalse>>;
|
||||||
|
+ NegFlag<SetFalse>,
|
||||||
|
+ BothFlags<[NoArgumentUnused]>>;
|
||||||
|
def r : Flag<["-"], "r">, Flags<[LinkerInput,NoArgumentUnused]>,
|
||||||
|
Group<Link_Group>;
|
||||||
|
def save_temps_EQ : Joined<["-", "--"], "save-temps=">, Flags<[CC1Option, FlangOption, NoXarchOption]>,
|
||||||
|
--
|
||||||
|
2.37.1
|
||||||
|
|
@ -1,17 +1,17 @@
|
|||||||
From c6b921c8d833546946b70a8c2640032fd7c62461 Mon Sep 17 00:00:00 2001
|
From ccfad825687fc45d04ddb987c476dfafb26e56d9 Mon Sep 17 00:00:00 2001
|
||||||
From: serge-sans-paille <sguelton@redhat.com>
|
From: serge-sans-paille <sguelton@redhat.com>
|
||||||
Date: Thu, 25 Feb 2021 14:04:52 +0100
|
Date: Thu, 25 Feb 2021 14:04:52 +0100
|
||||||
Subject: [PATCH 1/6] [PATCH][clang] Reorganize gtest integration
|
Subject: Reorganize gtest integration
|
||||||
|
|
||||||
---
|
---
|
||||||
clang/CMakeLists.txt | 12 +++++-------
|
clang/CMakeLists.txt | 12 +++++-------
|
||||||
1 file changed, 5 insertions(+), 7 deletions(-)
|
1 file changed, 5 insertions(+), 7 deletions(-)
|
||||||
|
|
||||||
diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt
|
diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt
|
||||||
index 9e74014..0185276 100644
|
index 13d76e7fd935..7452bafb0756 100644
|
||||||
--- a/clang/CMakeLists.txt
|
--- a/clang/CMakeLists.txt
|
||||||
+++ b/clang/CMakeLists.txt
|
+++ b/clang/CMakeLists.txt
|
||||||
@@ -153,12 +153,6 @@ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
|
@@ -159,12 +159,6 @@ if(CLANG_BUILT_STANDALONE)
|
||||||
set(LLVM_UTILS_PROVIDED ON)
|
set(LLVM_UTILS_PROVIDED ON)
|
||||||
set(CLANG_TEST_DEPS FileCheck count not)
|
set(CLANG_TEST_DEPS FileCheck count not)
|
||||||
endif()
|
endif()
|
||||||
@ -24,7 +24,7 @@ index 9e74014..0185276 100644
|
|||||||
else()
|
else()
|
||||||
# Seek installed Lit.
|
# Seek installed Lit.
|
||||||
find_program(LLVM_LIT
|
find_program(LLVM_LIT
|
||||||
@@ -537,7 +531,11 @@ endif()
|
@@ -586,7 +580,11 @@ endif()
|
||||||
|
|
||||||
|
|
||||||
if( CLANG_INCLUDE_TESTS )
|
if( CLANG_INCLUDE_TESTS )
|
||||||
@ -38,5 +38,5 @@ index 9e74014..0185276 100644
|
|||||||
list(APPEND CLANG_TEST_DEPS ClangUnitTests)
|
list(APPEND CLANG_TEST_DEPS ClangUnitTests)
|
||||||
list(APPEND CLANG_TEST_PARAMS
|
list(APPEND CLANG_TEST_PARAMS
|
||||||
--
|
--
|
||||||
1.8.3.1
|
2.37.1
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
From 0f97b7209eed4a428171af6044fe7e0aaf81ee2a Mon Sep 17 00:00:00 2001
|
From 0ff89f236b9cc11662cf4f288cfd3254410d8243 Mon Sep 17 00:00:00 2001
|
||||||
From: Nikita Popov <npopov@redhat.com>
|
From: Nikita Popov <npopov@redhat.com>
|
||||||
Date: Thu, 3 Feb 2022 10:34:44 +0100
|
Date: Thu, 3 Feb 2022 10:34:44 +0100
|
||||||
Subject: [PATCH] Work around gcc miscompile
|
Subject: Work around gcc miscompile
|
||||||
|
|
||||||
This works around https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334,
|
This works around https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334,
|
||||||
which miscompiles clang on s390x and ppc64le. The issue is already
|
which miscompiles clang on s390x and ppc64le. The issue is already
|
||||||
@ -27,7 +27,6 @@ index d4dc790c008a..77a1e6c32c6f 100644
|
|||||||
S.Diag(TSWRange.getBegin(),
|
S.Diag(TSWRange.getBegin(),
|
||||||
diag::err_invalid_vector_long_double_decl_spec);
|
diag::err_invalid_vector_long_double_decl_spec);
|
||||||
else if (!S.Context.getTargetInfo().hasFeature("vsx") &&
|
else if (!S.Context.getTargetInfo().hasFeature("vsx") &&
|
||||||
--
|
--
|
||||||
2.34.1
|
2.37.1
|
||||||
|
|
||||||
|
|
@ -1,17 +1,17 @@
|
|||||||
From 88704fc2eabb9dd19a9c3eb81a9b3dc37d95651c Mon Sep 17 00:00:00 2001
|
From 6e0c48576740a1da9abeecfb8070127b8e91ab73 Mon Sep 17 00:00:00 2001
|
||||||
From: Tom Stellard <tstellar@redhat.com>
|
From: Tom Stellard <tstellar@redhat.com>
|
||||||
Date: Fri, 31 Jan 2020 11:04:57 -0800
|
Date: Fri, 31 Jan 2020 11:04:57 -0800
|
||||||
Subject: [PATCH][clang] Don't install static libraries
|
Subject: Don't install static libraries
|
||||||
|
|
||||||
---
|
---
|
||||||
clang/cmake/modules/AddClang.cmake | 2 +-
|
clang/cmake/modules/AddClang.cmake | 2 +-
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/clang/cmake/modules/AddClang.cmake b/clang/cmake/modules/AddClang.cmake
|
diff --git a/clang/cmake/modules/AddClang.cmake b/clang/cmake/modules/AddClang.cmake
|
||||||
index 5752f4277444..0f52822d91f0 100644
|
index 21ac332e4f5f..d0cf20cced21 100644
|
||||||
--- a/clang/cmake/modules/AddClang.cmake
|
--- a/clang/cmake/modules/AddClang.cmake
|
||||||
+++ b/clang/cmake/modules/AddClang.cmake
|
+++ b/clang/cmake/modules/AddClang.cmake
|
||||||
@@ -113,7 +113,7 @@ macro(add_clang_library name)
|
@@ -114,7 +114,7 @@ macro(add_clang_library name)
|
||||||
if(TARGET ${lib})
|
if(TARGET ${lib})
|
||||||
target_link_libraries(${lib} INTERFACE ${LLVM_COMMON_LIBS})
|
target_link_libraries(${lib} INTERFACE ${LLVM_COMMON_LIBS})
|
||||||
|
|
||||||
@ -21,5 +21,5 @@ index 5752f4277444..0f52822d91f0 100644
|
|||||||
install(TARGETS ${lib}
|
install(TARGETS ${lib}
|
||||||
COMPONENT ${lib}
|
COMPONENT ${lib}
|
||||||
--
|
--
|
||||||
2.30.2
|
2.37.1
|
||||||
|
|
@ -1,22 +1,20 @@
|
|||||||
From c87abee7356b8fde81512ffceadd520776c465d2 Mon Sep 17 00:00:00 2001
|
From 54806261c76384ae45de93b7b5ac2de4e74bb7ae Mon Sep 17 00:00:00 2001
|
||||||
From: serge-sans-paille <sguelton@redhat.com>
|
From: serge-sans-paille <sguelton@redhat.com>
|
||||||
Date: Thu, 25 Feb 2021 14:09:29 +0100
|
Date: Wed, 21 Sep 2022 12:21:06 +0200
|
||||||
Subject: [PATCH] [PATCH][clang] Make -funwind-tables the default on all archs
|
Subject: Make -funwind-tables the default on all archs
|
||||||
|
|
||||||
---
|
---
|
||||||
clang/lib/Driver/ToolChains/Gnu.cpp | 6 ++++++
|
clang/lib/Driver/ToolChains/Gnu.cpp | 4 ++++
|
||||||
1 file changed, 6 insertions(+)
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp
|
diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp
|
||||||
b/clang/lib/Driver/ToolChains/Gnu.cpp
|
index 12fa2da3187e..96527ed52445 100644
|
||||||
index d0808d061c82..de9c9743cd38 100644
|
|
||||||
--- a/clang/lib/Driver/ToolChains/Gnu.cpp
|
--- a/clang/lib/Driver/ToolChains/Gnu.cpp
|
||||||
+++ b/clang/lib/Driver/ToolChains/Gnu.cpp
|
+++ b/clang/lib/Driver/ToolChains/Gnu.cpp
|
||||||
@@ -2701,6 +2701,11 @@ bool Generic_GCC::IsUnwindTablesDefault(const ArgList &Args) const {
|
@@ -2845,6 +2845,10 @@ bool Generic_GCC::IsUnwindTablesDefault(const ArgList &Args) const {
|
||||||
case llvm::Triple::ppc64le:
|
case llvm::Triple::ppc64le:
|
||||||
case llvm::Triple::x86:
|
case llvm::Triple::x86:
|
||||||
case llvm::Triple::x86_64:
|
case llvm::Triple::x86_64:
|
||||||
+
|
|
||||||
+ // Enable -funwind-tables on all architectures supported by Fedora:
|
+ // Enable -funwind-tables on all architectures supported by Fedora:
|
||||||
+ // rhbz#1655546
|
+ // rhbz#1655546
|
||||||
+ case llvm::Triple::systemz:
|
+ case llvm::Triple::systemz:
|
||||||
@ -25,5 +23,5 @@ index d0808d061c82..de9c9743cd38 100644
|
|||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
--
|
--
|
||||||
2.27.0
|
2.37.1
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
From 6509777d4c12a42c7487814d868375a86712bf5b Mon Sep 17 00:00:00 2001
|
From 62728c7321a2d07f7d22dadc2b8565ad512b3da4 Mon Sep 17 00:00:00 2001
|
||||||
From: Konrad Kleine <kkleine@redhat.com>
|
From: Konrad Kleine <kkleine@redhat.com>
|
||||||
Date: Thu, 24 Mar 2022 09:44:21 +0100
|
Date: Thu, 24 Mar 2022 09:44:21 +0100
|
||||||
Subject: [PATCH][clang]Produce DWARF4 by default
|
Subject: Produce DWARF4 by default
|
||||||
|
|
||||||
Have a look at the following commit to see when the move from DWARF 4 to 5 first happened upstream:
|
Have a look at the following commit to see when the move from DWARF 4 to 5 first happened upstream:
|
||||||
|
|
||||||
@ -10,16 +10,17 @@ https://github.com/llvm/llvm-project/commit/d3b26dea16108c427b19b5480c9edc76edf8
|
|||||||
clang/include/clang/Driver/ToolChain.h | 2 +-
|
clang/include/clang/Driver/ToolChain.h | 2 +-
|
||||||
clang/test/CodeGen/dwarf-version.c | 4 ++--
|
clang/test/CodeGen/dwarf-version.c | 4 ++--
|
||||||
clang/test/Driver/cl-options.c | 2 +-
|
clang/test/Driver/cl-options.c | 2 +-
|
||||||
|
clang/test/Driver/clang-g-opts.c | 2 +-
|
||||||
clang/test/Driver/ve-toolchain.c | 2 +-
|
clang/test/Driver/ve-toolchain.c | 2 +-
|
||||||
clang/test/Driver/ve-toolchain.cpp | 2 +-
|
clang/test/Driver/ve-toolchain.cpp | 2 +-
|
||||||
5 files changed, 6 insertions(+), 6 deletions(-)
|
6 files changed, 7 insertions(+), 7 deletions(-)
|
||||||
|
|
||||||
diff --git a/clang/include/clang/Driver/ToolChain.h b/clang/include/clang/Driver/ToolChain.h
|
diff --git a/clang/include/clang/Driver/ToolChain.h b/clang/include/clang/Driver/ToolChain.h
|
||||||
index adf1753e8d3a..c8adc4d917ce 100644
|
index f20ab164531b..53c86ee82936 100644
|
||||||
--- a/clang/include/clang/Driver/ToolChain.h
|
--- a/clang/include/clang/Driver/ToolChain.h
|
||||||
+++ b/clang/include/clang/Driver/ToolChain.h
|
+++ b/clang/include/clang/Driver/ToolChain.h
|
||||||
@@ -515,7 +515,7 @@ public:
|
@@ -535,7 +535,7 @@ public:
|
||||||
|
|
||||||
// Return the DWARF version to emit, in the absence of arguments
|
// Return the DWARF version to emit, in the absence of arguments
|
||||||
// to the contrary.
|
// to the contrary.
|
||||||
- virtual unsigned GetDefaultDwarfVersion() const { return 5; }
|
- virtual unsigned GetDefaultDwarfVersion() const { return 5; }
|
||||||
@ -43,10 +44,10 @@ index 0a6fa4768026..96f01749d0d8 100644
|
|||||||
// The -isysroot is used as a hack to avoid LIT messing with the SDKROOT
|
// The -isysroot is used as a hack to avoid LIT messing with the SDKROOT
|
||||||
// environment variable which indirecty overrides the version in the target
|
// environment variable which indirecty overrides the version in the target
|
||||||
diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c
|
diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c
|
||||||
index f332cd83b26e..911779fffbef 100644
|
index a2e350a0a835..01889ba0bf9b 100644
|
||||||
--- a/clang/test/Driver/cl-options.c
|
--- a/clang/test/Driver/cl-options.c
|
||||||
+++ b/clang/test/Driver/cl-options.c
|
+++ b/clang/test/Driver/cl-options.c
|
||||||
@@ -597,7 +597,7 @@
|
@@ -570,7 +570,7 @@
|
||||||
// RUN: %clang_cl /Z7 -gdwarf /c -### -- %s 2>&1 | FileCheck -check-prefix=Z7_gdwarf %s
|
// RUN: %clang_cl /Z7 -gdwarf /c -### -- %s 2>&1 | FileCheck -check-prefix=Z7_gdwarf %s
|
||||||
// Z7_gdwarf: "-gcodeview"
|
// Z7_gdwarf: "-gcodeview"
|
||||||
// Z7_gdwarf: "-debug-info-kind=constructor"
|
// Z7_gdwarf: "-debug-info-kind=constructor"
|
||||||
@ -55,35 +56,10 @@ index f332cd83b26e..911779fffbef 100644
|
|||||||
|
|
||||||
// RUN: %clang_cl -fmsc-version=1800 -TP -### -- %s 2>&1 | FileCheck -check-prefix=CXX11 %s
|
// RUN: %clang_cl -fmsc-version=1800 -TP -### -- %s 2>&1 | FileCheck -check-prefix=CXX11 %s
|
||||||
// CXX11: -std=c++11
|
// CXX11: -std=c++11
|
||||||
diff --git a/clang/test/Driver/ve-toolchain.c b/clang/test/Driver/ve-toolchain.c
|
diff --git a/clang/test/Driver/clang-g-opts.c b/clang/test/Driver/clang-g-opts.c
|
||||||
index 753dee19fcbf..dfd12cc0bba4 100644
|
index d982b1070cae..bb129e75769c 100644
|
||||||
--- a/clang/test/Driver/ve-toolchain.c
|
--- a/clang/test/Driver/clang-g-opts.c
|
||||||
+++ b/clang/test/Driver/ve-toolchain.c
|
+++ b/clang/test/Driver/clang-g-opts.c
|
||||||
@@ -6,7 +6,7 @@
|
|
||||||
/// Checking dwarf-version
|
|
||||||
|
|
||||||
// RUN: %clang -### -g -target ve %s 2>&1 | FileCheck -check-prefix=DWARF_VER %s
|
|
||||||
-// DWARF_VER: "-dwarf-version=5"
|
|
||||||
+// DWARF_VER: "-dwarf-version=4"
|
|
||||||
|
|
||||||
///-----------------------------------------------------------------------------
|
|
||||||
/// Checking include-path
|
|
||||||
diff --git a/clang/test/Driver/ve-toolchain.cpp b/clang/test/Driver/ve-toolchain.cpp
|
|
||||||
index 4b2b9c5747fe..3a196dd94ca1 100644
|
|
||||||
--- a/clang/test/Driver/ve-toolchain.cpp
|
|
||||||
+++ b/clang/test/Driver/ve-toolchain.cpp
|
|
||||||
@@ -7,7 +7,7 @@
|
|
||||||
|
|
||||||
// RUN: %clangxx -### -g -target ve-unknown-linux-gnu \
|
|
||||||
// RUN: %s 2>&1 | FileCheck -check-prefix=DWARF_VER %s
|
|
||||||
-// DWARF_VER: "-dwarf-version=5"
|
|
||||||
+// DWARF_VER: "-dwarf-version=4"
|
|
||||||
|
|
||||||
///-----------------------------------------------------------------------------
|
|
||||||
/// Checking include-path
|
|
||||||
diff -ruN clang-14.0.0.src.orig/test/Driver/clang-g-opts.c clang-14.0.0.src/test/Driver/clang-g-opts.c
|
|
||||||
--- a/clang-14.0.0.src.orig/test/Driver/clang-g-opts.c 2022-03-14 10:44:55.000000000 +0100
|
|
||||||
+++ b/clang-14.0.0.src/test/Driver/clang-g-opts.c 2022-04-13 06:36:55.832253890 +0200
|
|
||||||
@@ -32,7 +32,7 @@
|
@@ -32,7 +32,7 @@
|
||||||
|
|
||||||
// CHECK-WITHOUT-G-NOT: -debug-info-kind
|
// CHECK-WITHOUT-G-NOT: -debug-info-kind
|
||||||
@ -93,6 +69,32 @@ diff -ruN clang-14.0.0.src.orig/test/Driver/clang-g-opts.c clang-14.0.0.src/test
|
|||||||
// CHECK-WITH-G-DWARF2: "-dwarf-version=2"
|
// CHECK-WITH-G-DWARF2: "-dwarf-version=2"
|
||||||
|
|
||||||
// CHECK-WITH-G-STANDALONE: "-debug-info-kind=standalone"
|
// CHECK-WITH-G-STANDALONE: "-debug-info-kind=standalone"
|
||||||
|
diff --git a/clang/test/Driver/ve-toolchain.c b/clang/test/Driver/ve-toolchain.c
|
||||||
|
index 32e25769b6da..b8a2852daba8 100644
|
||||||
|
--- a/clang/test/Driver/ve-toolchain.c
|
||||||
|
+++ b/clang/test/Driver/ve-toolchain.c
|
||||||
|
@@ -6,7 +6,7 @@
|
||||||
|
/// Checking dwarf-version
|
||||||
|
|
||||||
|
// RUN: %clang -### -g --target=ve %s 2>&1 | FileCheck -check-prefix=DWARF_VER %s
|
||||||
|
-// DWARF_VER: "-dwarf-version=5"
|
||||||
|
+// DWARF_VER: "-dwarf-version=4"
|
||||||
|
|
||||||
|
///-----------------------------------------------------------------------------
|
||||||
|
/// Checking include-path
|
||||||
|
diff --git a/clang/test/Driver/ve-toolchain.cpp b/clang/test/Driver/ve-toolchain.cpp
|
||||||
|
index 5a33d5eceb61..cedf895b36dc 100644
|
||||||
|
--- a/clang/test/Driver/ve-toolchain.cpp
|
||||||
|
+++ b/clang/test/Driver/ve-toolchain.cpp
|
||||||
|
@@ -7,7 +7,7 @@
|
||||||
|
|
||||||
|
// RUN: %clangxx -### -g --target=ve-unknown-linux-gnu \
|
||||||
|
// RUN: %s 2>&1 | FileCheck -check-prefix=DWARF_VER %s
|
||||||
|
-// DWARF_VER: "-dwarf-version=5"
|
||||||
|
+// DWARF_VER: "-dwarf-version=4"
|
||||||
|
|
||||||
|
///-----------------------------------------------------------------------------
|
||||||
|
/// Checking include-path
|
||||||
--
|
--
|
||||||
2.35.1
|
2.37.1
|
||||||
|
|
@ -1,7 +1,17 @@
|
|||||||
diff -ruN clang-14.0.0.src.orig/docs/conf.py clang-14.0.0.src/docs/conf.py
|
From f4e2d711e5cfd8e357d770e2da7a114086ee8659 Mon Sep 17 00:00:00 2001
|
||||||
--- a/clang-14.0.0.src.orig/docs/conf.py 2022-03-14 10:44:55.000000000 +0100
|
From: =?UTF-8?q?Timm=20B=C3=A4der?= <tbaeder@redhat.com>
|
||||||
+++ b/clang-14.0.0.src/docs/conf.py 2022-04-11 11:13:44.483641113 +0200
|
Date: Thu, 22 Sep 2022 10:49:43 +0200
|
||||||
@@ -37,20 +37,7 @@
|
Subject: disable recommonmark
|
||||||
|
|
||||||
|
---
|
||||||
|
clang/docs/conf.py | 15 +--------------
|
||||||
|
1 file changed, 1 insertion(+), 14 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/clang/docs/conf.py b/clang/docs/conf.py
|
||||||
|
index b8a42018191a..912449a7f792 100644
|
||||||
|
--- a/clang/docs/conf.py
|
||||||
|
+++ b/clang/docs/conf.py
|
||||||
|
@@ -37,20 +37,7 @@ source_suffix = {
|
||||||
'.rst': 'restructuredtext',
|
'.rst': 'restructuredtext',
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -23,4 +33,6 @@ diff -ruN clang-14.0.0.src.orig/docs/conf.py clang-14.0.0.src/docs/conf.py
|
|||||||
|
|
||||||
# The encoding of source files.
|
# The encoding of source files.
|
||||||
#source_encoding = 'utf-8-sig'
|
#source_encoding = 'utf-8-sig'
|
||||||
|
--
|
||||||
|
2.37.1
|
||||||
|
|
130
clang.spec
130
clang.spec
@ -1,10 +1,14 @@
|
|||||||
|
# We are building with clang for faster/lower memory LTO builds.
|
||||||
|
# See https://docs.fedoraproject.org/en-US/packaging-guidelines/#_compiler_macros
|
||||||
|
%global toolchain clang
|
||||||
|
|
||||||
%bcond_with compat_build
|
%bcond_with compat_build
|
||||||
%bcond_with bundle_compat_lib
|
%bcond_with bundle_compat_lib
|
||||||
%bcond_without check
|
%bcond_without check
|
||||||
|
|
||||||
%global maj_ver 14
|
%global maj_ver 15
|
||||||
%global min_ver 0
|
%global min_ver 0
|
||||||
%global patch_ver 6
|
%global patch_ver 1
|
||||||
%global clang_version %{maj_ver}.%{min_ver}.%{patch_ver}
|
%global clang_version %{maj_ver}.%{min_ver}.%{patch_ver}
|
||||||
|
|
||||||
%if %{with compat_build}
|
%if %{with compat_build}
|
||||||
@ -26,8 +30,8 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with bundle_compat_lib}
|
%if %{with bundle_compat_lib}
|
||||||
%global compat_maj_ver 13
|
%global compat_maj_ver 14
|
||||||
%global compat_ver %{compat_maj_ver}.0.1
|
%global compat_ver %{compat_maj_ver}.0.6
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
@ -51,36 +55,42 @@ Summary: A C language family front-end for LLVM
|
|||||||
License: NCSA
|
License: NCSA
|
||||||
URL: http://llvm.org
|
URL: http://llvm.org
|
||||||
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{clang_version}%{?rc_ver:-rc%{rc_ver}}/%{clang_srcdir}.tar.xz
|
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{clang_version}%{?rc_ver:-rc%{rc_ver}}/%{clang_srcdir}.tar.xz
|
||||||
Source3: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{clang_version}%{?rc_ver:-rc%{rc_ver}}/%{clang_srcdir}.tar.xz.sig
|
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{clang_version}%{?rc_ver:-rc%{rc_ver}}/%{clang_srcdir}.tar.xz.sig
|
||||||
%if %{without compat_build}
|
%if %{without compat_build}
|
||||||
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{clang_version}%{?rc_ver:-rc%{rc_ver}}/%{clang_tools_srcdir}.tar.xz
|
Source2: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{clang_version}%{?rc_ver:-rc%{rc_ver}}/%{clang_tools_srcdir}.tar.xz
|
||||||
Source2: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{clang_version}%{?rc_ver:-rc%{rc_ver}}/%{clang_tools_srcdir}.tar.xz.sig
|
Source3: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{clang_version}%{?rc_ver:-rc%{rc_ver}}/%{clang_tools_srcdir}.tar.xz.sig
|
||||||
%endif
|
%endif
|
||||||
Source4: tstellar-gpg-key.asc
|
Source4: release-keys.asc
|
||||||
%if %{with bundle_compat_lib}
|
%if %{with bundle_compat_lib}
|
||||||
Source5: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{compat_ver}/clang-%{compat_ver}.src.tar.xz
|
Source5: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{compat_ver}/clang-%{compat_ver}.src.tar.xz
|
||||||
Source6: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{compat_ver}/llvm-%{compat_ver}.src.tar.xz
|
Source6: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{compat_ver}/clang-%{compat_ver}.src.tar.xz.sig
|
||||||
|
Source7: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{compat_ver}/llvm-%{compat_ver}.src.tar.xz
|
||||||
|
Source8: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{compat_ver}/llvm-%{compat_ver}.src.tar.xz.sig
|
||||||
|
Source9: tstellar-gpg-key.asc
|
||||||
%endif
|
%endif
|
||||||
%if !0%{with compat_build}
|
%if !0%{with compat_build}
|
||||||
Source7: macros.%{name}
|
Source10: macros.%{name}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Patches for clang
|
# Patches for clang
|
||||||
Patch0: 0001-PATCH-clang-Reorganize-gtest-integration.patch
|
|
||||||
Patch1: 0002-PATCH-clang-Make-funwind-tables-the-default-on-all-a.patch
|
|
||||||
Patch2: 0003-PATCH-clang-Don-t-install-static-libraries.patch
|
|
||||||
Patch3: 0001-Driver-Add-a-gcc-equivalent-triple-to-the-list-of-tr.patch
|
|
||||||
Patch4: 0001-cmake-Allow-shared-libraries-to-customize-the-soname.patch
|
|
||||||
# This patch can be dropped once gcc-12.0.1-0.5.fc36 is in the repo.
|
|
||||||
Patch5: 0001-Work-around-gcc-miscompile.patch
|
|
||||||
Patch7: 0010-PATCH-clang-Produce-DWARF4-by-default.patch
|
|
||||||
Patch8: disable-recommonmark.patch
|
|
||||||
|
|
||||||
|
Patch1: 0001-cmake-Allow-shared-libraries-to-customize-the-soname.patch
|
||||||
|
Patch2: 0002-Driver-Add-a-gcc-equivalent-triple-to-the-list-of-tr.patch
|
||||||
|
# TODO: Can be dropped in LLVM 16: https://reviews.llvm.org/D133316
|
||||||
|
Patch3: 0003-Mark-fopenmp-implicit-rpath-as-NoArgumentUnused.patch
|
||||||
|
Patch4: 0004-Reorganize-gtest-integration.patch
|
||||||
|
# This patch can be dropped once gcc-12.0.1-0.5.fc36 is in the repo.
|
||||||
|
Patch5: 0005-Work-around-gcc-miscompile.patch
|
||||||
|
Patch6: 0006-Don-t-install-static-libraries.patch
|
||||||
|
Patch7: 0007-Make-funwind-tables-the-default-on-all-archs.patch
|
||||||
|
Patch8: 0008-Produce-DWARF4-by-default.patch
|
||||||
|
Patch9: 0009-disable-recommonmark.patch
|
||||||
|
|
||||||
|
%if %{without compat_build}
|
||||||
# Patches for clang-tools-extra
|
# Patches for clang-tools-extra
|
||||||
# See https://reviews.llvm.org/D120301
|
# See https://reviews.llvm.org/D120301
|
||||||
Patch201: llvm-hello.patch
|
Patch201: 0001-clang-tools-extra-Make-test-dependency-on-LLVMHello-.patch
|
||||||
# See https://github.com/llvm/llvm-project/issues/54116
|
%endif
|
||||||
Patch202: remove-test.patch
|
|
||||||
|
|
||||||
# RHEL only: We build LLVM with clang, which now defaults to using the
|
# RHEL only: We build LLVM with clang, which now defaults to using the
|
||||||
# libstdc++ from gcc-toolset-12. Since we're linking some clang
|
# libstdc++ from gcc-toolset-12. Since we're linking some clang
|
||||||
@ -89,6 +99,7 @@ Patch202: remove-test.patch
|
|||||||
# to compile clang.
|
# to compile clang.
|
||||||
BuildRequires: gcc-toolset-12-gcc-c++
|
BuildRequires: gcc-toolset-12-gcc-c++
|
||||||
BuildRequires: gcc-toolset-12-annobin-plugin-gcc
|
BuildRequires: gcc-toolset-12-annobin-plugin-gcc
|
||||||
|
BuildRequires: clang
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: ninja-build
|
BuildRequires: ninja-build
|
||||||
%if %{with compat_build}
|
%if %{with compat_build}
|
||||||
@ -119,12 +130,14 @@ BuildRequires: libatomic
|
|||||||
# We need python3-devel for %%py3_shebang_fix
|
# We need python3-devel for %%py3_shebang_fix
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
|
|
||||||
|
%if %{without compat_build}
|
||||||
# For reproducible pyc file generation
|
# For reproducible pyc file generation
|
||||||
# See https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Appendix/#_byte_compilation_reproducibility
|
# See https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Appendix/#_byte_compilation_reproducibility
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
BuildRequires: /usr/bin/marshalparser
|
BuildRequires: /usr/bin/marshalparser
|
||||||
%global py_reproducible_pyc_path %{buildroot}%{python3_sitelib}
|
%global py_reproducible_pyc_path %{buildroot}%{python3_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
# Needed for %%multilib_fix_c_header
|
# Needed for %%multilib_fix_c_header
|
||||||
BuildRequires: multilib-rpm-config
|
BuildRequires: multilib-rpm-config
|
||||||
@ -177,6 +190,8 @@ Summary: Runtime library for clang
|
|||||||
Requires: %{name}-resource-filesystem%{?_isa} = %{version}
|
Requires: %{name}-resource-filesystem%{?_isa} = %{version}
|
||||||
Requires: gcc-toolset-12-gcc-c++
|
Requires: gcc-toolset-12-gcc-c++
|
||||||
Recommends: compiler-rt%{?_isa} = %{version}
|
Recommends: compiler-rt%{?_isa} = %{version}
|
||||||
|
# atomic support is not part of compiler-rt
|
||||||
|
Recommends: libatomic%{?_isa}
|
||||||
# libomp-devel is required, so clang can find the omp.h header when compiling
|
# libomp-devel is required, so clang can find the omp.h header when compiling
|
||||||
# with -fopenmp.
|
# with -fopenmp.
|
||||||
Recommends: libomp-devel%{_isa} = %{version}
|
Recommends: libomp-devel%{_isa} = %{version}
|
||||||
@ -192,11 +207,11 @@ Runtime library for clang.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development header files for clang
|
Summary: Development header files for clang
|
||||||
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
%if %{without compat_build}
|
%if %{without compat_build}
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
# The clang CMake files reference tools from clang-tools-extra.
|
# The clang CMake files reference tools from clang-tools-extra.
|
||||||
Requires: %{name}-tools-extra%{?_isa} = %{version}-%{release}
|
Requires: %{name}-tools-extra%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -255,29 +270,27 @@ Requires: python3
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE3}' --data='%{SOURCE0}'
|
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||||
|
|
||||||
%if %{with bundle_compat_lib}
|
%if %{with bundle_compat_lib}
|
||||||
|
%{gpgverify} --keyring='%{SOURCE9}' --signature='%{SOURCE6}' --data='%{SOURCE5}'
|
||||||
|
%{gpgverify} --keyring='%{SOURCE9}' --signature='%{SOURCE8}' --data='%{SOURCE7}'
|
||||||
|
|
||||||
%setup -T -q -b 5 -n clang-%{compat_ver}.src
|
%setup -T -q -b 5 -n clang-%{compat_ver}.src
|
||||||
%setup -T -q -b 6 -n llvm-%{compat_ver}.src
|
%setup -T -q -b 7 -n llvm-%{compat_ver}.src
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with compat_build}
|
%if %{with compat_build}
|
||||||
%autosetup -n %{clang_srcdir} -p2
|
%autosetup -n %{clang_srcdir} -p2
|
||||||
%else
|
%else
|
||||||
|
|
||||||
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE2}' --data='%{SOURCE1}'
|
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE3}' --data='%{SOURCE2}'
|
||||||
%setup -T -q -b 1 -n %{clang_tools_srcdir}
|
%setup -T -q -b 2 -n %{clang_tools_srcdir}
|
||||||
%autopatch -m200 -p2
|
%autopatch -m200 -p2
|
||||||
|
|
||||||
|
|
||||||
# This test is broken upstream. It is a clang-tidy unittest
|
|
||||||
# that includes a file from clang, breaking standalone builds.
|
|
||||||
# https://github.com/llvm/llvm-project/issues/54116
|
|
||||||
rm unittests/clang-tidy/ReadabilityModuleTest.cpp
|
|
||||||
|
|
||||||
# failing test case
|
# failing test case
|
||||||
rm test/clang-tidy/checkers/altera-struct-pack-align.cpp
|
rm test/clang-tidy/checkers/altera/struct-pack-align.cpp
|
||||||
|
|
||||||
%py3_shebang_fix \
|
%py3_shebang_fix \
|
||||||
clang-tidy/tool/ \
|
clang-tidy/tool/ \
|
||||||
@ -301,16 +314,7 @@ rm test/CodeGen/profile-filter.c
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# We run the builders out of memory on armv7 and i686 when LTO is enabled
|
|
||||||
%ifarch %{arm} i686
|
|
||||||
%define _lto_cflags %{nil}
|
|
||||||
%else
|
|
||||||
# This package does not ship any object files or static libraries, so we
|
|
||||||
# don't need -ffat-lto-objects.
|
|
||||||
%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}
|
%define _lto_cflags %{nil}
|
||||||
|
|
||||||
%if 0%{?__isa_bits} == 64
|
%if 0%{?__isa_bits} == 64
|
||||||
@ -319,14 +323,16 @@ sed -i 's/\@FEDORA_LLVM_LIB_SUFFIX\@/64/g' test/lit.cfg.py
|
|||||||
sed -i 's/\@FEDORA_LLVM_LIB_SUFFIX\@//g' test/lit.cfg.py
|
sed -i 's/\@FEDORA_LLVM_LIB_SUFFIX\@//g' test/lit.cfg.py
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch s390 s390x %{arm} %ix86 ppc64le
|
%ifarch s390 s390x %{arm} aarch64 %ix86 ppc64le
|
||||||
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
|
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
|
||||||
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
|
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%set_build_flags
|
# Disable dwz on aarch64, because it takes a huge amount of time to decide not to optimize things.
|
||||||
CXXFLAGS="$CXXFLAGS -Wno-address -Wno-nonnull -Wno-maybe-uninitialized"
|
%ifarch aarch64
|
||||||
CFLAGS="$CFLAGS -Wno-address -Wno-nonnull -Wno-maybe-uninitialized"
|
%define _find_debuginfo_dwz_opts %{nil}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%if %{with bundle_compat_lib}
|
%if %{with bundle_compat_lib}
|
||||||
|
|
||||||
@ -340,10 +346,12 @@ mv ../clang-%{compat_ver}.src ../clang
|
|||||||
%cmake -S ../llvm-%{compat_ver}.src -B ../clang-compat-libs -G Ninja \
|
%cmake -S ../llvm-%{compat_ver}.src -B ../clang-compat-libs -G Ninja \
|
||||||
-DLLVM_ENABLE_PROJECTS=clang \
|
-DLLVM_ENABLE_PROJECTS=clang \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
||||||
-DLLVM_ENABLE_EH=ON \
|
-DLLVM_ENABLE_EH=ON \
|
||||||
-DLLVM_ENABLE_RTTI=ON \
|
-DLLVM_ENABLE_RTTI:BOOL=ON \
|
||||||
-DCMAKE_SKIP_RPATH:BOOL=ON
|
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||||
|
-DLLVM_TARGETS_TO_BUILD=%{targets_to_build} \
|
||||||
|
-DLLVM_INCLUDE_BENCHMARKS=OFF
|
||||||
|
|
||||||
%ninja_build -C ../clang-compat-libs libclang.so
|
%ninja_build -C ../clang-compat-libs libclang.so
|
||||||
%ninja_build -C ../clang-compat-libs libclang-cpp.so
|
%ninja_build -C ../clang-compat-libs libclang-cpp.so
|
||||||
@ -351,11 +359,12 @@ mv ../clang-%{compat_ver}.src ../clang
|
|||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# -DLLVM_ENABLE_NEW_PASS_MANAGER=ON can be removed once this patch is committed:
|
# TODO: Drop the HAVE_CXX_ATOMICS64_WITHOUT_LIB once clang15 is in the buildroot. It looks like
|
||||||
# https://reviews.llvm.org/D107628
|
# previously clang emitted __atomic_load for std::atomic<double>, which is not detected by cmake.
|
||||||
%cmake -G Ninja \
|
%cmake -G Ninja \
|
||||||
-DCMAKE_C_COMPILER=/opt/rh/gcc-toolset-12/root/usr/bin/gcc \
|
%ifarch %ix86
|
||||||
-DCMAKE_CXX_COMPILER=/opt/rh/gcc-toolset-12/root/usr/bin/g++ \
|
-DHAVE_CXX_ATOMICS64_WITHOUT_LIB=OFF \
|
||||||
|
%endif
|
||||||
-DLLVM_PARALLEL_LINK_JOBS=1 \
|
-DLLVM_PARALLEL_LINK_JOBS=1 \
|
||||||
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
|
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
@ -372,6 +381,7 @@ mv ../clang-%{compat_ver}.src ../clang
|
|||||||
-DCLANG_INCLUDE_TESTS:BOOL=OFF \
|
-DCLANG_INCLUDE_TESTS:BOOL=OFF \
|
||||||
%else
|
%else
|
||||||
-DCLANG_INCLUDE_TESTS:BOOL=ON \
|
-DCLANG_INCLUDE_TESTS:BOOL=ON \
|
||||||
|
-DLLVM_BUILD_UTILS:BOOL=ON \
|
||||||
-DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=../%{clang_tools_srcdir} \
|
-DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=../%{clang_tools_srcdir} \
|
||||||
-DLLVM_EXTERNAL_LIT=%{_bindir}/lit \
|
-DLLVM_EXTERNAL_LIT=%{_bindir}/lit \
|
||||||
-DLLVM_MAIN_SRC_DIR=%{_datadir}/llvm/src \
|
-DLLVM_MAIN_SRC_DIR=%{_datadir}/llvm/src \
|
||||||
@ -395,7 +405,6 @@ mv ../clang-%{compat_ver}.src ../clang
|
|||||||
-DLLVM_ENABLE_EH=ON \
|
-DLLVM_ENABLE_EH=ON \
|
||||||
-DLLVM_ENABLE_RTTI=ON \
|
-DLLVM_ENABLE_RTTI=ON \
|
||||||
-DLLVM_BUILD_DOCS=ON \
|
-DLLVM_BUILD_DOCS=ON \
|
||||||
-DLLVM_ENABLE_NEW_PASS_MANAGER=ON \
|
|
||||||
-DLLVM_ENABLE_SPHINX=ON \
|
-DLLVM_ENABLE_SPHINX=ON \
|
||||||
-DCLANG_LINK_CLANG_DYLIB=ON \
|
-DCLANG_LINK_CLANG_DYLIB=ON \
|
||||||
%{?abi_revision:-DLLVM_ABI_REVISION=%{abi_revision}} \
|
%{?abi_revision:-DLLVM_ABI_REVISION=%{abi_revision}} \
|
||||||
@ -408,7 +417,8 @@ mv ../clang-%{compat_ver}.src ../clang
|
|||||||
-DCLANG_DEFAULT_LINKER=lld \
|
-DCLANG_DEFAULT_LINKER=lld \
|
||||||
%endif
|
%endif
|
||||||
-DCLANG_DEFAULT_UNWINDLIB=libgcc \
|
-DCLANG_DEFAULT_UNWINDLIB=libgcc \
|
||||||
-DGCC_INSTALL_PREFIX=/opt/rh/gcc-toolset-12/root/usr
|
-DGCC_INSTALL_PREFIX=/opt/rh/gcc-toolset-12/root/usr \
|
||||||
|
-DLLVM_INCLUDE_BENCHMARKS=OFF
|
||||||
|
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
@ -435,7 +445,7 @@ rm -Rf %{buildroot}%{install_prefix}/lib/{libear,libscanbuild}
|
|||||||
# File in the macros file for other packages to use. We are not doing this
|
# File in the macros file for other packages to use. We are not doing this
|
||||||
# in the compat package, because the version macros would # conflict with
|
# in the compat package, because the version macros would # conflict with
|
||||||
# eachother if both clang and the clang compat package were installed together.
|
# eachother if both clang and the clang compat package were installed together.
|
||||||
install -p -m0644 -D %{SOURCE7} %{buildroot}%{_rpmmacrodir}/macros.%{name}
|
install -p -m0644 -D %{SOURCE10} %{buildroot}%{_rpmmacrodir}/macros.%{name}
|
||||||
sed -i -e "s|@@CLANG_MAJOR_VERSION@@|%{maj_ver}|" \
|
sed -i -e "s|@@CLANG_MAJOR_VERSION@@|%{maj_ver}|" \
|
||||||
-e "s|@@CLANG_MINOR_VERSION@@|%{min_ver}|" \
|
-e "s|@@CLANG_MINOR_VERSION@@|%{min_ver}|" \
|
||||||
-e "s|@@CLANG_PATCH_VERSION@@|%{patch_ver}|" \
|
-e "s|@@CLANG_PATCH_VERSION@@|%{patch_ver}|" \
|
||||||
@ -562,6 +572,7 @@ false
|
|||||||
%{_includedir}/clang/
|
%{_includedir}/clang/
|
||||||
%{_includedir}/clang-c/
|
%{_includedir}/clang-c/
|
||||||
%{_libdir}/cmake/*
|
%{_libdir}/cmake/*
|
||||||
|
%{_bindir}/clang-tblgen
|
||||||
%dir %{_datadir}/clang/
|
%dir %{_datadir}/clang/
|
||||||
%{_rpmmacrodir}/macros.%{name}
|
%{_rpmmacrodir}/macros.%{name}
|
||||||
%else
|
%else
|
||||||
@ -610,9 +621,11 @@ false
|
|||||||
%{_bindir}/clang-include-fixer
|
%{_bindir}/clang-include-fixer
|
||||||
%{_bindir}/clang-move
|
%{_bindir}/clang-move
|
||||||
%{_bindir}/clang-offload-bundler
|
%{_bindir}/clang-offload-bundler
|
||||||
|
%{_bindir}/clang-offload-packager
|
||||||
%{_bindir}/clang-offload-wrapper
|
%{_bindir}/clang-offload-wrapper
|
||||||
%{_bindir}/clang-linker-wrapper
|
%{_bindir}/clang-linker-wrapper
|
||||||
%{_bindir}/clang-nvlink-wrapper
|
%{_bindir}/clang-nvlink-wrapper
|
||||||
|
%{_bindir}/clang-pseudo
|
||||||
%{_bindir}/clang-query
|
%{_bindir}/clang-query
|
||||||
%{_bindir}/clang-refactor
|
%{_bindir}/clang-refactor
|
||||||
%{_bindir}/clang-rename
|
%{_bindir}/clang-rename
|
||||||
@ -649,6 +662,9 @@ false
|
|||||||
|
|
||||||
%endif
|
%endif
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 26 2022 Konrad Kleine <kkleine@redhat.com> - 15.0.1-1
|
||||||
|
- Update to 15.0.1
|
||||||
|
|
||||||
* Tue Jul 19 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.6-1
|
* Tue Jul 19 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.6-1
|
||||||
- Update to 14.0.6
|
- Update to 14.0.6
|
||||||
|
|
||||||
|
@ -1,61 +0,0 @@
|
|||||||
diff -ruN a/clang-tools-extra-14.0.0rc2.src.orig/test/clang-tidy/CTTestTidyModule.cpp a/clang-tools-extra-14.0.0rc2.src/test/clang-tidy/CTTestTidyModule.cpp
|
|
||||||
--- a/clang-tools-extra-14.0.0rc2.src.orig/test/clang-tidy/CTTestTidyModule.cpp 2022-03-02 01:46:37.000000000 +0100
|
|
||||||
+++ a/clang-tools-extra-14.0.0rc2.src/test/clang-tidy/CTTestTidyModule.cpp 2022-03-07 08:52:20.009112976 +0100
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-// REQUIRES: plugins
|
|
||||||
+// REQUIRES: plugins, llvm-hello
|
|
||||||
// RUN: clang-tidy -checks='-*,mytest*' --list-checks -load %llvmshlibdir/CTTestTidyModule%pluginext -load %llvmshlibdir/LLVMHello%pluginext | FileCheck --check-prefix=CHECK-LIST %s
|
|
||||||
// CHECK-LIST: Enabled checks:
|
|
||||||
// CHECK-LIST-NEXT: mytest1
|
|
||||||
diff -ruN a/clang-tools-extra-14.0.0rc2.src.orig/test/CMakeLists.txt a/clang-tools-extra-14.0.0rc2.src/test/CMakeLists.txt
|
|
||||||
--- a/clang-tools-extra-14.0.0rc2.src.orig/test/CMakeLists.txt 2022-03-02 01:46:37.000000000 +0100
|
|
||||||
+++ a/clang-tools-extra-14.0.0rc2.src/test/CMakeLists.txt 2022-03-07 10:58:56.172490672 +0100
|
|
||||||
@@ -15,10 +15,15 @@
|
|
||||||
|
|
||||||
string(REPLACE ${CMAKE_CFG_INTDIR} ${LLVM_BUILD_MODE} CLANG_TOOLS_DIR ${LLVM_RUNTIME_OUTPUT_INTDIR})
|
|
||||||
|
|
||||||
+if (TARGET LLVMHello)
|
|
||||||
+ set (LLVM_HAS_LLVM_HELLO 1)
|
|
||||||
+endif()
|
|
||||||
+
|
|
||||||
llvm_canonicalize_cmake_booleans(
|
|
||||||
CLANG_TIDY_ENABLE_STATIC_ANALYZER
|
|
||||||
CLANG_PLUGIN_SUPPORT
|
|
||||||
LLVM_INSTALL_TOOLCHAIN_ONLY
|
|
||||||
+ LLVM_HAS_LLVM_HELLO
|
|
||||||
)
|
|
||||||
|
|
||||||
configure_lit_site_cfg(
|
|
||||||
@@ -97,7 +102,10 @@
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(TARGET CTTestTidyModule)
|
|
||||||
- list(APPEND CLANG_TOOLS_TEST_DEPS CTTestTidyModule LLVMHello)
|
|
||||||
+ list(APPEND CLANG_TOOLS_TEST_DEPS CTTestTidyModule)
|
|
||||||
+ if (TARGET LLVMHello)
|
|
||||||
+ list(APPEND CLANG_TOOLS_TEST_DEPS CTTestTidyModule) # Should be LLVMHello?
|
|
||||||
+ endif()
|
|
||||||
target_include_directories(CTTestTidyModule PUBLIC BEFORE "${CLANG_TOOLS_SOURCE_DIR}")
|
|
||||||
if(CLANG_PLUGIN_SUPPORT AND (WIN32 OR CYGWIN))
|
|
||||||
set(LLVM_LINK_COMPONENTS
|
|
||||||
diff -ruN a/clang-tools-extra-14.0.0rc2.src.orig/test/lit.cfg.py a/clang-tools-extra-14.0.0rc2.src/test/lit.cfg.py
|
|
||||||
--- a/clang-tools-extra-14.0.0rc2.src.orig/test/lit.cfg.py 2022-03-02 01:46:37.000000000 +0100
|
|
||||||
+++ a/clang-tools-extra-14.0.0rc2.src/test/lit.cfg.py 2022-03-07 08:52:20.010112983 +0100
|
|
||||||
@@ -155,3 +155,6 @@
|
|
||||||
# Plugins (loadable modules)
|
|
||||||
if config.has_plugins and config.llvm_plugin_ext:
|
|
||||||
config.available_features.add('plugins')
|
|
||||||
+
|
|
||||||
+if config.has_llvm_hello:
|
|
||||||
+ config.available_features.add('llvm-hello')
|
|
||||||
diff -ruN a/clang-tools-extra-14.0.0rc2.src.orig/test/lit.site.cfg.py.in a/clang-tools-extra-14.0.0rc2.src/test/lit.site.cfg.py.in
|
|
||||||
--- a/clang-tools-extra-14.0.0rc2.src.orig/test/lit.site.cfg.py.in 2022-03-02 01:46:37.000000000 +0100
|
|
||||||
+++ a/clang-tools-extra-14.0.0rc2.src/test/lit.site.cfg.py.in 2022-03-07 10:59:17.202663983 +0100
|
|
||||||
@@ -13,6 +13,7 @@
|
|
||||||
config.target_triple = "@TARGET_TRIPLE@"
|
|
||||||
config.clang_tidy_staticanalyzer = @CLANG_TIDY_ENABLE_STATIC_ANALYZER@
|
|
||||||
config.has_plugins = @CLANG_PLUGIN_SUPPORT@ & ~@LLVM_INSTALL_TOOLCHAIN_ONLY@
|
|
||||||
+config.has_llvm_hello = @LLVM_HAS_LLVM_HELLO@
|
|
||||||
|
|
||||||
# Support substitution of the tools and libs dirs with user parameters. This is
|
|
||||||
# used when we can't determine the tool dir at configuration time.
|
|
104
release-keys.asc
Normal file
104
release-keys.asc
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
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
|
||||||
|
9RmlwZlOTFGcWBYl/cfRONn9qi9a6w==
|
||||||
|
=Lvw+
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
mQINBFrqgT0BEAC7xo0WH+eNrLlU5LrCk59KmImn1abFcmWNd8kYr5XfqmJKyVqo
|
||||||
|
EY7A/yRjf+Yn1621EDkpKPjbql7q7MlZMpqKVdOWKWgmhvz08IOKJxaIABd/iIRT
|
||||||
|
FwhIvB68YjtmzcoOJRi1wLnwuG55fJ9E69HyZ33jgAlRaWV3bE/YyszoTlZriUOE
|
||||||
|
RbzC5WzX004cE9evlrr+YLt5Y6z7tntOdSXPLyGOFAO5LYMsHsEdi2JBYWrjlslG
|
||||||
|
6iJr5iEt9v442PrJ79YYbu5QWe/6APRWtI3AtKBp7y250oon2lbj+bIVD7U9fOBB
|
||||||
|
n/Frqx54UN22sJycET63hgYW4pIjIi5zq+FF15aU+ZqBdtNltoX4hEN7wlDpuNc0
|
||||||
|
ezVu2Z8hdt8thpjiFUioTQ1t3RmsN6N548VwxmHdoYpAmiZqPIYBYvm85JB7S/3h
|
||||||
|
RLuoeGxufBhXGCpnG8ghTOGtbbdanuLB/UROFXTdyZbTCBN5S6jvwkPSaHG7H35Z
|
||||||
|
3fazMriTXwL1RGAbKITSWhDe5dXy/yOInWe8emJx+35vwQYCB2L4S8wRyQyRw6x4
|
||||||
|
YoXCscW041DUMBX2CC7SjMCcmAC39UX1c3GbTpS3rkJR9cmXt50nviMnKpIwlIPd
|
||||||
|
ZYhmxKifwTJ70+c4GVK2o0MG9bTYvpYhLnYxv6iJCfgmT40E+qkDSzSoZwARAQAB
|
||||||
|
tCJUb20gU3RlbGxhcmQgPHRzdGVsbGFyQHJlZGhhdC5jb20+iQI/BBMBAgApBQJa
|
||||||
|
6oE9AhsDBQkB4TOABwsJCAcDAgEGFQgCCQoLBBYCAwECHgECF4AACgkQoseUqYZB
|
||||||
|
nYp8Gg//RmX6Nup/Dv05jTL7dKRBSD08MF400tRtTmRhIuAgGv27qO2hbqzprKVu
|
||||||
|
vd20vKBB9CNZpXC2oY8k9VhGv2PZNi/X7iuULIYmzjeFMbJ5CjU6XvuUBmNasITH
|
||||||
|
6K/0KLhGebPs5h/DNtd7lbzDm86dLcjxgl6LXUULaSyYvTAKn6YB6mAv5J3qJs2X
|
||||||
|
lfTmenNh9p7TPFTfcMHcS70ywjqKXlDiH0q9bRKJnSX7xUFlTHjKkNnAcRjlPaGf
|
||||||
|
wUUhIPrnpDboqfwfcmScLrHANW9nwFWSFkNAJu1HQUEuF+An/RZUHDxFbLPKKAIp
|
||||||
|
hwZ0aORTfBVZ80AjehDMYCbmp1DJeTyLjC1/94un6mlxPIKnPPPM8rMxr83xnrvP
|
||||||
|
+Y1+pJaDUL7ZvKnmt2LrGRa9GvsNiYKpCNCORfiwZTeSxxXb+LgaodnbCHvGBnk7
|
||||||
|
nlbLdMY08vNlxSx8LNyG0krFxJw/rq260+73yc+qjENeG68fozTEy/4jSVrF4t3m
|
||||||
|
8AAUu5r6i/Aomo7Q27TjU928bbCVunpvDpserfDqr3zsA96LO9k8T6THR6zC9i+R
|
||||||
|
LiN9Vjl+Rr2YuU26DjFYkCNEA2kNflYCWPJi5I0eodTPZrIPBWJ+H0YTRX31bMH9
|
||||||
|
X88FnWJuCwaqAMN3rWlX/lXNCouWDdCuPWseZApISAMnVDE2mM+JAlYEEwEIAEAC
|
||||||
|
GwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgBYhBEdOIjFqv0eFqIxujqLHlKmG
|
||||||
|
QZ2KBQJgkytfBQkJaxEiAAoJEKLHlKmGQZ2Kv8YP/jNPjcMAP0ZTpUcYV46mGKwf
|
||||||
|
aQ0g5FUMSfxP7uJHtctj2dUckPGpA9SAH+ApiJutVgTQpWqNJKPd2vVxOiu5sywN
|
||||||
|
iDKCOMlKug5m6lgLX5h3zBvSN90Hpn4I0qHRA3rgENLoPs/UYBxohvFPIhOOjPqO
|
||||||
|
HIUuSPhAIuIZawxtqlADswHiKPy38Ao5GnWRb60zKfrB+N+ZiOtg7ITrlTGYm2tX
|
||||||
|
0W9iWUG32gIA/RX2qmFPoLrDFqsk66Eir0Ghk5gppRrmpEl/M1lqA8bxlqWto/8w
|
||||||
|
V8yDbSEu5fmM3WN3OUcSA23lYJi4j656Q4hS5PU+IWuZbBhcpYwDGexV5+m/ySZb
|
||||||
|
wtHZMIb4Au+dgJHCvRiSqHgplyfiamxX5CfA0DJVHoGXpBOw8a2geRT0+DrjSbOS
|
||||||
|
+CDDnlfmQLfHgjEuyQPU8V0Wlb0tJEvnPPqNPmAv0Rv7MC4qmD/zDrgwuddpfr1x
|
||||||
|
H+nWus2plR8E6p/x9uvPLb3plJ94ri1XjXiJPyPvqzBAwA40Zeg0rE7sTVwCC3E9
|
||||||
|
RZa7dHh17exkcZdOIS/vRQ1G/VNaOVUwrcC/vIMgZSe37bCLeOKViMtacAiBJDjo
|
||||||
|
INC1QJ2F3CYVwktrcgmuz9S8e2WrqdTWwijjConB80EwfHQllz5sp/jU6Bgv297X
|
||||||
|
UXkgpk1y+ibQ9/syRQpFuQINBFrqgT0BEADB2vDHMuexkaUm3rPi6SvyMGcsHWle
|
||||||
|
feAWm+UjROKIaV77rHwo0/8ncKbtoQx4ZZjDXdI77M2bXB7tPgyEML90bWDMMGN/
|
||||||
|
gnpwWSsiDRWpFIV/+hD6B+l9UaEi4UvEstUbIchOkGrZgPZ4Qism4FSVosEK+FE7
|
||||||
|
EKCT4PSS+LiBKSxJZB8/g2uX+3pJvVxYurvcVpTmiNlXvUyll4KMpzy5e0KKa/0y
|
||||||
|
w9h7SAre5399cSM8E7PDQZQDb1EwbyVyO2yDLgs+p3yzPtRJAydaqRPmT1JbSCYf
|
||||||
|
hcihTrViMA4EDN5GRjH2EElI37+2HMpgLs4rc6Abz1F4FUVFhqWJXCKUcAIrG17w
|
||||||
|
A7YUlYg38S6Xws2Xj1VfZ/WP7/qIMJZidYTHZbN9WWCaifCPfLlE5VDNsa8y6Mxm
|
||||||
|
uFMBAB4PpB1gmmP9pPZsOzV9SmeYt8h2P8cVKDW2f56azpBZvZX6NFn8e0+ZDXS4
|
||||||
|
8BQz31G2Xdfa3uOEV0J3JxPXcEbfuPzDHb7OMYP+2Ypjox1TozT1e9zr46SQl9OF
|
||||||
|
MglOBnwLZJ9baA/IqZkqLq5iu5Oqda44EIVNAntQ3gebi3+q3YG1SvNUseIy2+8y
|
||||||
|
cNWtdDuWv366Af0okCdrKAdap8+KbREer9uXhamtvxc49RCoWwuKoKfBz0RdVvMv
|
||||||
|
R/Py2xV8A7PaIQARAQABiQIlBBgBAgAPBQJa6oE9AhsMBQkB4TOAAAoJEKLHlKmG
|
||||||
|
QZ2KAaMQALHif2E0PBLVt09vlr4i8jAsQvDrzRajmVPd2B9RpfNU6HJe/y93SZd2
|
||||||
|
udr9vzgmfd2o5u12vbegKNiMRgp1VyHQDmYlce27jrH5aPuKmos78+o5/p5yPWCv
|
||||||
|
Rj8zxGKh7le7UPO+7UveKu+bgb3zwTj6bEuHX7fVI+WjGmEH3bbjDGamWxXrpfGc
|
||||||
|
7+Jr8TN4ZO2OwYBcFOS9U2ZQ6TxrPaCSIm6+j8f+a9HPOuuDc62mMuV/EWQZy0i7
|
||||||
|
DhDqU2PNpVjQDWQNpHA8oLDrjNFAoJS8gbHABVsFM1VnwBNT2MKcZQmm05dlQ+ll
|
||||||
|
S6meHNCvTniKIKC+Giz1Yd5JVGDACZWWPxEz6VhpQW/twkxRqwlUdpFt7UgDquTL
|
||||||
|
M1beQUCZRt81yJTNdrggbhQ2POxOdIO0CPiQv7U1IzndZp6baedeBw4a7FCbj6GY
|
||||||
|
cQeHxQCrWpQrwigiseG5uhhS9aiaVFEHja9baSLfXlZu/vsR4MdDG5/iEpier/Xw
|
||||||
|
h1qnpTSY+r31Uw3lTUlPHzlg47PMgPslaIhCzfVggxh9bTqxcDbuYJ7NuoMho3tN
|
||||||
|
yWfeofTJ7PhKzoXM2Y/rRFoM5gNh1RVA19ngLT5Jwiof8fPZvHJ/9ZkHn+O7eMNm
|
||||||
|
m5++gYza3pnn2/PoGpGGAKok+sfJiq5Tb7RUefyJTeZiyTZ/XJrA
|
||||||
|
=tMzl
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
@ -1,20 +0,0 @@
|
|||||||
diff --git a/clang-tools-extra/unittests/clang-tidy/CMakeLists.txt b/clang-tools-extra/unittests/clang-tidy/CMakeLists.txt
|
|
||||||
index 253f78eb36ea..1199da3e4cfd 100644
|
|
||||||
--- a/clang-tools-extra/unittests/clang-tidy/CMakeLists.txt
|
|
||||||
+++ b/clang-tools-extra/unittests/clang-tidy/CMakeLists.txt
|
|
||||||
@@ -30,7 +30,6 @@ add_extra_unittest(ClangTidyTests
|
|
||||||
OptionsProviderTest.cpp
|
|
||||||
OverlappingReplacementsTest.cpp
|
|
||||||
UsingInserterTest.cpp
|
|
||||||
- ReadabilityModuleTest.cpp
|
|
||||||
TransformerClangTidyCheckTest.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
@@ -54,7 +53,6 @@ target_link_libraries(ClangTidyTests
|
|
||||||
clangTidyGoogleModule
|
|
||||||
clangTidyLLVMModule
|
|
||||||
clangTidyObjCModule
|
|
||||||
- clangTidyReadabilityModule
|
|
||||||
clangTidyUtils
|
|
||||||
LLVMTestingSupport
|
|
||||||
)
|
|
10
sources
10
sources
@ -1,4 +1,8 @@
|
|||||||
SHA512 (clang-14.0.6.src.tar.xz.sig) = ece52f4807fd4f6dadaae5ef539d4033f15848b8fafd428fc9896db2191aab59be134cbba1914e4175f5bb51fdfa74b5ab81f2bb818f5f67c441383a839325e9
|
|
||||||
SHA512 (clang-14.0.6.src.tar.xz) = 5f5497b57dd116225e90f321902f1015beb50c0b1bb90d0fc6c026f13aa748feabe44f98eb75e86f98f3b1785ad5e850210732f3eae75b942ecd520527dcd30b
|
SHA512 (clang-14.0.6.src.tar.xz) = 5f5497b57dd116225e90f321902f1015beb50c0b1bb90d0fc6c026f13aa748feabe44f98eb75e86f98f3b1785ad5e850210732f3eae75b942ecd520527dcd30b
|
||||||
SHA512 (clang-tools-extra-14.0.6.src.tar.xz) = b55fd9872e52a27599e27fa665cf39af3d172814c0e7246ea0e57286e9eea42bf816f8b6d350334f3fe5e2fae35a8e59d59e71a3a5de330ecb0622ef7655e63f
|
SHA512 (clang-15.0.1.src.tar.xz) = 5e5cb8c82ad09df2fec8de4de391d5c6d85c88ce4f94ef2c5cee6cd54e3bde3071402d335cf7f5676a5cf9766af4978df7ef44673b414532b43a53a9f0e23d3d
|
||||||
SHA512 (clang-tools-extra-14.0.6.src.tar.xz.sig) = 775181d38d9be1722d756899b5be57406fd14b6e0016a68f1bd573036e928012300f575b7708454baf5821c55bbb3f57b6c248b7875c02b99f6c223196d6c2d7
|
SHA512 (clang-14.0.6.src.tar.xz.sig) = ece52f4807fd4f6dadaae5ef539d4033f15848b8fafd428fc9896db2191aab59be134cbba1914e4175f5bb51fdfa74b5ab81f2bb818f5f67c441383a839325e9
|
||||||
|
SHA512 (clang-15.0.1.src.tar.xz.sig) = 0eae06a45ce68df9a2d278684c38609a2f064b50e86339bdb1e2fcd2ce1d0747b121e45bf41386cd12d147352fd82d868a750645afaa06e04b30bbb7871f5035
|
||||||
|
SHA512 (llvm-14.0.6.src.tar.xz) = 6461bdde27aac17fa44c3e99a85ec47ffb181d0d4e5c3ef1c4286a59583e3b0c51af3c8081a300f45b99524340773a3011380059e3b3a571c3b0a8733e96fc1d
|
||||||
|
SHA512 (llvm-14.0.6.src.tar.xz.sig) = de74affdc3e35dbcc1d45fbbee54a00d66242dc958e32f2a5a2c90b12a50113268d7b2a5dceb3b281691d1f20957895bd627d45ec80d5239dcd1a534e383b5c8
|
||||||
|
SHA512 (clang-tools-extra-15.0.1.src.tar.xz) = cea8e17b7f83b2b84fb72b46d6d52800df279ca61efbed604f750380e33f8320445799614db1410484377636378f93b293719f33e5767b843fc8a75643461d7f
|
||||||
|
SHA512 (clang-tools-extra-15.0.1.src.tar.xz.sig) = 21abd13ab7a9b0001f3cc92e7dc5275881f2cb30253d7dbb15613e0b7c7ff56387e2a33570e5fa3a900a2d223b5b88c6caba9beed5284c88d94aeaabc914b876
|
||||||
|
Loading…
Reference in New Issue
Block a user