diff --git a/mold.spec b/mold.spec index 8acb4fa4e43a24e48f5aa31687db595960b975ee..28eea5d368b35fb4296b5d94ce316f9e97ca7350 100644 --- a/mold.spec +++ b/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 - 2.34.1-2 +- Switch to bundled onetbb for 24.03 series + * Sat Oct 05 2024 Funda Wang - 2.34.1-1 - Upgrade to 2.34.1