Import rpm: 39843d9ade5f01e5f2d068549a68e0b7bc5180e3

This commit is contained in:
James Antill 2023-02-23 12:51:59 -05:00
parent b3eeeb5337
commit d45d6a1da2
5 changed files with 19 additions and 12 deletions

4
.gitignore vendored
View File

@ -1,2 +1,2 @@
SOURCES/lld-14.0.0.src.tar.xz SOURCES/lld-15.0.7.src.tar.xz
SOURCES/tstellar-gpg-key.asc SOURCES/release-keys.asc

View File

@ -14,7 +14,7 @@ diff --git a/lld/CMakeLists.txt b/lld/CMakeLists.txt
index d4e561b..a7406d1c 100644 index d4e561b..a7406d1c 100644
--- a/lld/CMakeLists.txt --- a/lld/CMakeLists.txt
+++ b/lld/CMakeLists.txt +++ b/lld/CMakeLists.txt
@@ -68,6 +68,15 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) @@ -68,6 +68,16 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
set(LLVM_UTILS_PROVIDED ON) set(LLVM_UTILS_PROVIDED ON)
endif() endif()
@ -23,6 +23,7 @@ index d4e561b..a7406d1c 100644
+ if(EXISTS ${UNITTEST_DIR}/googletest/include/gtest/gtest.h + if(EXISTS ${UNITTEST_DIR}/googletest/include/gtest/gtest.h
+ AND NOT EXISTS ${LLVM_LIBRARY_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}gtest${CMAKE_STATIC_LIBRARY_SUFFIX} + AND NOT EXISTS ${LLVM_LIBRARY_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}gtest${CMAKE_STATIC_LIBRARY_SUFFIX}
+ AND EXISTS ${UNITTEST_DIR}/CMakeLists.txt) + AND EXISTS ${UNITTEST_DIR}/CMakeLists.txt)
+ set(HAVE_LIBPTHREAD ON)
+ add_subdirectory(${UNITTEST_DIR} utils/unittest) + add_subdirectory(${UNITTEST_DIR} utils/unittest)
+ endif() + endif()
+ +

BIN
lld-15.0.7.src.tar.xz.sig Normal file

Binary file not shown.

View File

@ -2,9 +2,9 @@
#global rc_ver 1 #global rc_ver 1
%global lld_srcdir lld-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:rc%{rc_ver}}.src %global lld_srcdir lld-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:rc%{rc_ver}}.src
%global maj_ver 14 %global maj_ver 15
%global min_ver 0 %global min_ver 0
%global patch_ver 0 %global patch_ver 7
# Don't include unittests in automatic generation of provides or requires. # Don't include unittests in automatic generation of provides or requires.
%global __provides_exclude_from ^%{_libdir}/lld/.*$ %global __provides_exclude_from ^%{_libdir}/lld/.*$
@ -15,14 +15,14 @@
Name: lld Name: lld
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
Release: 2%{?rc_ver:.rc%{rc_ver}}%{?dist} Release: 1%{?rc_ver:.rc%{rc_ver}}%{?dist}
Summary: The LLVM Linker Summary: The LLVM Linker
License: NCSA License: NCSA
URL: http://llvm.org URL: http://llvm.org
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{lld_srcdir}.tar.xz Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{lld_srcdir}.tar.xz
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{lld_srcdir}.tar.xz.sig Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{lld_srcdir}.tar.xz.sig
Source2: tstellar-gpg-key.asc Source2: release-keys.asc
Source3: run-lit-tests Source3: run-lit-tests
Source4: lit.lld-test.cfg.py Source4: lit.lld-test.cfg.py
@ -33,9 +33,6 @@ Patch0: 0001-PATCH-lld-CMake-Check-for-gtest-headers-even-if-lit..patch
# Bundle libunwind header need during build for MachO support # Bundle libunwind header need during build for MachO support
Patch1: 0002-PATCH-lld-Import-compact_unwind_encoding.h-from-libu.patch Patch1: 0002-PATCH-lld-Import-compact_unwind_encoding.h-from-libu.patch
# https://github.com/llvm/llvm-project/commit/c29c19cb5327624dd31fcb776f8fbe66ca1011bb
Patch2: ignore-no-add-needed.patch
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: cmake BuildRequires: cmake
@ -232,6 +229,15 @@ cd %{_vpath_builddir}
%endif %endif
%changelog %changelog
* Thu Jan 19 2023 Tom Stellard <tstellar@redhat.com> - 15.0.7-1
- Update to LLVM 15.0.7
* Tue Sep 06 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-1
- Update to LLVM 15.0.0
* Tue Jun 28 2022 Tom Stellard <tstellar@redhat.com> - 14.0.6-1
- 14.0.6 Release
* Fri May 06 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-2 * Fri May 06 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-2
- Backport ignoring --no-add-needed - Backport ignoring --no-add-needed

View File

@ -1,2 +1,2 @@
SHA512 (lld-14.0.0.src.tar.xz) = 08944782d138795bbf45903bf2459cf93bf296a8f7e97ece9a94b1a5c86d791dc3eb81a688b678a8a42c6f5a44b3a2f4bf6523f03617831c27372343dfd26891 SHA1 (lld-15.0.7.src.tar.xz) = 7a34849834b6a6172a2fcc5e166c869d1c4b0203
SHA512 (tstellar-gpg-key.asc) = a6720905008fab485d24263c4a65b0b379636a2dfa38e14bbcd2cc9a48afb9f66afe179f5f455c49902512ddb76517afd456a2c02d942fec1a2d764142834f4d SHA1 (release-keys.asc) = 347bdd5ee6d6b93c9644c268511815912c0fb2dc