From 6c5acc35c5ec7ec513de3cc00a6f6111c72cf0c0 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Mon, 12 May 2025 12:03:15 +0800 Subject: [PATCH] valgrind does not support sw_64 yet --- macros | 1 - macros.valgrind-srpm | 3 +++ openEuler-rpm-config.spec | 6 +++++- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 macros.valgrind-srpm diff --git a/macros b/macros index d326d1d..c6ec92e 100644 --- a/macros +++ b/macros @@ -429,7 +429,6 @@ for k,_ in pairs(stripped_flags) do print(k .. " ") end #arches macros %generic_arches %{ix86} x86_64 %{arm} aarch64 loongarch64 powerpc64le ppc64le sw_64 %ldc_arches %{generic_arches} -%valgrind_arches %{generic_arches} %nodejs_arches %{generic_arches} riscv64 %ldc_arches %{generic_arches} %mono_arches %{generic_arches} diff --git a/macros.valgrind-srpm b/macros.valgrind-srpm new file mode 100644 index 0000000..f65aa80 --- /dev/null +++ b/macros.valgrind-srpm @@ -0,0 +1,3 @@ +# valgrind_arches lists what arches Valgrind works on + +%valgrind_arches %{ix86} x86_64 %{arm} aarch64 loongarch64 powerpc64le ppc64le diff --git a/openEuler-rpm-config.spec b/openEuler-rpm-config.spec index 9a956d4..ee99e56 100644 --- a/openEuler-rpm-config.spec +++ b/openEuler-rpm-config.spec @@ -3,7 +3,7 @@ Name: %{vendor}-rpm-config Version: 31 -Release: 23 +Release: 24 License: GPL+ AND MIT Summary: specific rpm configuration files URL: https://gitee.com/src-openeuler/openEuler-rpm-config @@ -32,6 +32,7 @@ Source103: macros.python Source104: macros.kmp Source105: macros.shell-completions Source106: macros.package-notes-srpm +Source107: macros.valgrind-srpm # Dependency generator scripts Source200: find-requires.ksyms @@ -210,6 +211,9 @@ sed -i "s|@OSCPE@|$(cat /etc/system-release-cpe)|" %{buildroot}%{rpmvdir}/%{vend %{rpmvdir}/find-requires.ksyms %changelog +* Mon May 12 2025 Funda Wang - 31-24 +- valgrind does not support sw_64 yet + * Wed Apr 30 2025 Funda Wang - 31-23 - Switch RPM payload to parallel zstd compression -- Gitee