From a29db2e194d614f4b37d9fc86b7e7a1316f50a0c Mon Sep 17 00:00:00 2001 From: "yan.yihao 10263201" Date: Thu, 8 May 2025 19:18:38 +0800 Subject: [PATCH] add support for RISC-V build --- bpftrace.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bpftrace.spec b/bpftrace.spec index b81b5c7..e4602d0 100644 --- a/bpftrace.spec +++ b/bpftrace.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %global __os_install_post %{nil} %global _find_debuginfo_opts -g @@ -14,7 +14,7 @@ Patch1: 0001-Workaround-OpaquePointers-for-LLVM-15.patch # Arches will be included as upstream support is added and dependencies are # satisfied in the respective arches -ExclusiveArch: x86_64 aarch64 +ExclusiveArch: x86_64 aarch64 riscv64 BuildRequires: gcc-c++ cmake llvm-devel clang-devel rubygem-asciidoctor llvm-googletest BuildRequires: bison flex elfutils-libelf-devel zlib-devel bcc-devel >= 0.19.0-1 @@ -80,6 +80,9 @@ find %{buildroot}%{_datadir}/%{name}/tools -type f -exec \ %doc README.md CONTRIBUTING-TOOLS.md %changelog +* Thu May 8 2025 Yihao Yan - 0.20.1-2 +- add support for riscv64 + * Thu Mar 21 2024 mgb01105731 - 0.20.1-1 - update to 0.20.1 -- Gitee