diff --git a/.gitignore b/.gitignore index db1112f..491ecc1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -SOURCES/lld-14.0.0.src.tar.xz -SOURCES/tstellar-gpg-key.asc +SOURCES/lld-15.0.7.src.tar.xz +SOURCES/release-keys.asc diff --git a/0001-PATCH-lld-CMake-Check-for-gtest-headers-even-if-lit..patch b/0001-PATCH-lld-CMake-Check-for-gtest-headers-even-if-lit..patch index ac8ed67..767c111 100644 --- a/0001-PATCH-lld-CMake-Check-for-gtest-headers-even-if-lit..patch +++ b/0001-PATCH-lld-CMake-Check-for-gtest-headers-even-if-lit..patch @@ -14,7 +14,7 @@ diff --git a/lld/CMakeLists.txt b/lld/CMakeLists.txt index d4e561b..a7406d1c 100644 --- a/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) endif() @@ -23,6 +23,7 @@ index d4e561b..a7406d1c 100644 + 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 EXISTS ${UNITTEST_DIR}/CMakeLists.txt) ++ set(HAVE_LIBPTHREAD ON) + add_subdirectory(${UNITTEST_DIR} utils/unittest) + endif() + diff --git a/lld-15.0.7.src.tar.xz.sig b/lld-15.0.7.src.tar.xz.sig new file mode 100644 index 0000000..9266ea1 Binary files /dev/null and b/lld-15.0.7.src.tar.xz.sig differ diff --git a/lld.spec b/lld.spec index 91988cc..807dc2a 100644 --- a/lld.spec +++ b/lld.spec @@ -2,9 +2,9 @@ #global rc_ver 1 %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 patch_ver 0 +%global patch_ver 7 # Don't include unittests in automatic generation of provides or requires. %global __provides_exclude_from ^%{_libdir}/lld/.*$ @@ -15,14 +15,14 @@ Name: lld 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 License: NCSA 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 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 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 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-c++ BuildRequires: cmake @@ -232,6 +229,15 @@ cd %{_vpath_builddir} %endif %changelog +* Thu Jan 19 2023 Tom Stellard - 15.0.7-1 +- Update to LLVM 15.0.7 + +* Tue Sep 06 2022 Nikita Popov - 15.0.0-1 +- Update to LLVM 15.0.0 + +* Tue Jun 28 2022 Tom Stellard - 14.0.6-1 +- 14.0.6 Release + * Fri May 06 2022 Timm Bäder - 14.0.0-2 - Backport ignoring --no-add-needed diff --git a/sources b/sources index 64e0df8..0f5c3b1 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (lld-14.0.0.src.tar.xz) = 08944782d138795bbf45903bf2459cf93bf296a8f7e97ece9a94b1a5c86d791dc3eb81a688b678a8a42c6f5a44b3a2f4bf6523f03617831c27372343dfd26891 -SHA512 (tstellar-gpg-key.asc) = a6720905008fab485d24263c4a65b0b379636a2dfa38e14bbcd2cc9a48afb9f66afe179f5f455c49902512ddb76517afd456a2c02d942fec1a2d764142834f4d +SHA1 (lld-15.0.7.src.tar.xz) = 7a34849834b6a6172a2fcc5e166c869d1c4b0203 +SHA1 (release-keys.asc) = 347bdd5ee6d6b93c9644c268511815912c0fb2dc