From 40a49756be51d4081ddbeddf8b43997a6aa966f6 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Mon, 22 Sep 2025 15:32:20 +0800 Subject: [PATCH] fix build oom_kill for autofdo --- autofdo.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/autofdo.spec b/autofdo.spec index 0b2fd3a..c2829e1 100644 --- a/autofdo.spec +++ b/autofdo.spec @@ -1,9 +1,11 @@ # Sync from llvm, disable LTO. %define _lto_cflags %{nil} +%global _smp_mflags -j$(( ( $(/usr/bin/getconf _NPROCESSORS_ONLN) + 1 ) / 2 )) + Name: autofdo Version: 0.30.1 -Release: 5 +Release: 6 Summary: A tool to convert perf.data profile to AutoFDO profile License: Apache-2.0 URL: https://github.com/google/autofdo @@ -67,6 +69,9 @@ export QA_CHECK_RAPTH=0 %{_bindir}/create_llvm_prof %changelog +* Mon Sep 22 2025 Wenlong Zhang - 0.30.1-6 +- fix build oom_kill for autofdo + * Wed Jun 4 2025 xiajingze - 0.30.1-5 - Type:enhancement - ID:NA -- Gitee