From 90372728360fcb171d716fd1647c4ed506c6efc4 Mon Sep 17 00:00:00 2001 From: desert-sailor Date: Wed, 11 Jun 2025 16:52:36 +0800 Subject: [PATCH] Fix build error for memory leak --- autofdo.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/autofdo.spec b/autofdo.spec index 8307331..f9bf55b 100644 --- a/autofdo.spec +++ b/autofdo.spec @@ -4,7 +4,7 @@ Name: autofdo Version: 0.30.1 -Release: 7 +Release: 8 Summary: A tool to convert perf.data profile to AutoFDO profile License: Apache-2.0 URL: https://github.com/google/autofdo @@ -33,9 +33,9 @@ tar -xvf %{SOURCE2} -C ./third_party %build %cmake -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_TOOL=GCOV -DBUILD_SHARED_LIBS=OFF -DBUILD_SHARED=ON -%cmake_build +%cmake_build %limit_build -m 4096 %cmake -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_TOOL=LLVM -DBUILD_SHARED_LIBS=OFF -DBUILD_SHARED=ON -%cmake_build +%cmake_build %limit_build -m 4096 %install mkdir -p %{buildroot}%{_bindir} @@ -57,6 +57,9 @@ install -m0755 %{__cmake_builddir}/create_llvm_prof %{buildroot}%{_bindir} %{_bindir}/create_llvm_prof %changelog +* Wed Jun 11 2025 Dongxing Wang - 0.30.1-8 +- Fix build error for memory leak + * Wed May 28 2025 Funda Wang - 0.30.1-7 - sync abseil-cpp tarball with abseil-cpp package -- Gitee