switch to bundled onetbb for 24.03 series

Signed-off-by: jchzhou <zhoujiacheng@iscas.ac.cn>
This commit is contained in:
jchzhou 2024-11-06 17:55:20 +08:00
parent c70f833ab3
commit dca097d336

View File

@ -2,7 +2,7 @@
Name: mold Name: mold
Version: 2.34.1 Version: 2.34.1
Release: 1 Release: 2
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
@ -18,7 +18,9 @@ BuildRequires: llvm clang perl
BuildRequires: gdb glibc-devel BuildRequires: gdb glibc-devel
BuildRequires: libstdc++-static libdwarf-tools BuildRequires: libstdc++-static libdwarf-tools
BuildRequires: tbb-devel >= 2021.11 # BuildRequires: tbb-devel >= 2021.11
Provides: bundled(tbb) = 2021.13
BuildRequires: hwloc-devel
# 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
@ -26,7 +28,8 @@ Patch0: 0001-Use-system-compatible-include-path-for-xxhash.h.patch
# Build blake3 as static # Build blake3 as static
Patch1: 0002-build-blake3-as-static.patch Patch1: 0002-build-blake3-as-static.patch
%define build_args -DMOLD_USE_MIMALLOC=OFF -DMOLD_USE_SYSTEM_TBB=ON -DMOLD_LTO=ON # %define build_args -DMOLD_USE_MIMALLOC=OFF -DMOLD_USE_SYSTEM_TBB=ON -DMOLD_LTO=ON
%define build_args -DMOLD_USE_MIMALLOC=OFF -DMOLD_LTO=ON
%description %description
mold is a faster drop-in replacement for existing Unix linkers. mold is a faster drop-in replacement for existing Unix linkers.
@ -65,6 +68,9 @@ chmod +x %{buildroot}%{_libdir}/mold/mold-wrapper.so
%{_mandir}/man1/mold.1* %{_mandir}/man1/mold.1*
%changelog %changelog
* Wed Nov 06 2024 jchzhou <zhoujiacheng@iscas.ac.cn> - 2.34.1-2
- Switch to bundled onetbb for 24.03 series
* Sat Oct 05 2024 Funda Wang <fundawang@yeah.net> - 2.34.1-1 * Sat Oct 05 2024 Funda Wang <fundawang@yeah.net> - 2.34.1-1
- Upgrade to 2.34.1 - Upgrade to 2.34.1