switch to bundled onetbb for 24.03 series
Signed-off-by: jchzhou <zhoujiacheng@iscas.ac.cn>
This commit is contained in:
parent
c70f833ab3
commit
dca097d336
12
mold.spec
12
mold.spec
@ -2,7 +2,7 @@
|
||||
|
||||
Name: mold
|
||||
Version: 2.34.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: A Modern Linker (mold)
|
||||
License: MIT
|
||||
URL: https://github.com/rui314/mold
|
||||
@ -18,7 +18,9 @@ BuildRequires: llvm clang perl
|
||||
BuildRequires: gdb glibc-devel
|
||||
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`
|
||||
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
|
||||
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
|
||||
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*
|
||||
|
||||
%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
|
||||
- Upgrade to 2.34.1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user