!4 Upgrade to 2.32.1

From: @jchzhou 
Reviewed-by: @misaka00251 
Signed-off-by: @misaka00251
This commit is contained in:
openeuler-ci-bot 2024-07-19 08:02:05 +00:00 committed by Gitee
commit ccdb048609
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 19 additions and 30 deletions

View File

@ -1,9 +1,9 @@
Src: https://build.opensuse.org/request/show/1118582 Src: https://build.opensuse.org/request/show/1118582
By Martin Liška <martin.liska@hey.com> By Martin Liška <martin.liska@hey.com>
From 3b14fbc71c42b312f77ac4612b28b3e20462e02b Mon Sep 17 00:00:00 2001 From a1e10884ddc6468448f9337c106008cb2e7ba10a Mon Sep 17 00:00:00 2001
From: jchzhou <zhoujiacheng@iscas.ac.cn> From: jchzhou <zhoujiacheng@iscas.ac.cn>
Date: Tue, 19 Mar 2024 17:14:37 +0800 Date: Wed, 17 Jul 2024 17:34:43 +0800
Subject: [PATCH] build blake3 as static Subject: [PATCH] build blake3 as static
Signed-off-by: jchzhou <zhoujiacheng@iscas.ac.cn> Signed-off-by: jchzhou <zhoujiacheng@iscas.ac.cn>
@ -12,11 +12,11 @@ Signed-off-by: jchzhou <zhoujiacheng@iscas.ac.cn>
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/third-party/blake3/c/CMakeLists.txt b/third-party/blake3/c/CMakeLists.txt diff --git a/third-party/blake3/c/CMakeLists.txt b/third-party/blake3/c/CMakeLists.txt
index 3190eff..3e8c763 100644 index 3a3b232..6550bbc 100644
--- a/third-party/blake3/c/CMakeLists.txt --- a/third-party/blake3/c/CMakeLists.txt
+++ b/third-party/blake3/c/CMakeLists.txt +++ b/third-party/blake3/c/CMakeLists.txt
@@ -32,7 +32,7 @@ set(BLAKE3_X86_NAMES i686 x86 X86) @@ -42,7 +42,7 @@ elseif(CMAKE_C_COMPILER_ID STREQUAL "GNU"
set(BLAKE3_ARMv8_NAMES aarch64 AArch64 arm64 ARM64 armv8 armv8a) endif()
# library target # library target
-add_library(blake3 -add_library(blake3
@ -25,5 +25,5 @@ index 3190eff..3e8c763 100644
blake3_dispatch.c blake3_dispatch.c
blake3_portable.c blake3_portable.c
-- --
2.44.0 2.45.2

View File

@ -1,38 +1,24 @@
%bcond_with ctest %bcond_with ctest
Name: mold Name: mold
Version: 2.30.0 Version: 2.32.1
Release: 1 Release: 1
Summary: A Modern Linker (mold) Summary: A Modern Linker (mold)
License: MIT License: MIT
URL: https://github.com/rui314/mold URL: https://github.com/rui314/mold
Source: https://github.com/rui314/mold/archive/v%{version}/%{name}-%{version}.tar.gz Source: https://github.com/rui314/mold/archive/v%{version}/%{name}-%{version}.tar.gz
ExclusiveArch: x86_64 aarch64 riscv64 ExclusiveArch: x86_64 aarch64 riscv64 loongarch64
BuildRequires: cmake BuildRequires: gcc gcc-c++ >= 10
BuildRequires: gcc BuildRequires: python3 grep cmake openssl-devel
BuildRequires: gcc-c++ >= 10 BuildRequires: zlib-devel xxhash-devel libzstd libzstd-devel
BuildRequires: openssl-devel
BuildRequires: grep
BuildRequires: python3
BuildRequires: xxhash-devel
BuildRequires: zlib-devel
BuildRequires: libzstd
BuildRequires: libzstd-devel
# Required by bundled oneTBB
BuildRequires: hwloc-devel
# following pkgs are only required for the test # following pkgs are only required for the test
BuildRequires: clang BuildRequires: llvm clang perl
BuildRequires: gdb BuildRequires: gdb glibc-devel
BuildRequires: glibc-devel BuildRequires: libstdc++-static libdwarf-tools
BuildRequires: libstdc++-static
BuildRequires: libdwarf-tools BuildRequires: tbb-devel >= 2021.11
BuildRequires: llvm
BuildRequires: perl
# API-incompatible with older tbb 2020.3 currently shipped by openEuler
Provides: bundled(tbb) = 2021.11
# Allow building against the system-provided `xxhash.h` # Allow building against the system-provided `xxhash.h`
Patch0: 0001-Use-system-compatible-include-path-for-xxhash.h.patch Patch0: 0001-Use-system-compatible-include-path-for-xxhash.h.patch
@ -82,5 +68,8 @@ chmod +x %{buildroot}%{_libdir}/mold/mold-wrapper.so
%{_mandir}/man1/mold.1* %{_mandir}/man1/mold.1*
%changelog %changelog
* Wed Jul 17 2024 jchzhou <zhoujiacheng@iscas.ac.cn> - 2.32.1-1
- Upgrade to 2.32.1
* Tue Mar 19 2024 jchzhou <zhoujiacheng@iscas.ac.cn> - 2.30.0-1 * Tue Mar 19 2024 jchzhou <zhoujiacheng@iscas.ac.cn> - 2.30.0-1
- Init package - Init package