Compare commits
2 Commits
rawhide
...
f38-riscv6
Author | SHA1 | Date |
---|---|---|
David Abdurachmanov | 0155a6bffe | |
David Abdurachmanov | fc01a130a3 |
|
@ -1,6 +1,6 @@
|
|||
Name: bpftrace
|
||||
Version: 0.17.0
|
||||
Release: 1%{?dist}
|
||||
Release: 1.0.riscv64%{?dist}
|
||||
Summary: High-level tracing language for Linux eBPF
|
||||
License: ASL 2.0
|
||||
|
||||
|
@ -10,7 +10,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 %{power64} aarch64 s390x
|
||||
ExclusiveArch: x86_64 %{power64} aarch64 s390x riscv64
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: bison
|
||||
|
@ -18,8 +18,8 @@ BuildRequires: flex
|
|||
BuildRequires: cmake
|
||||
BuildRequires: elfutils-libelf-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: llvm-devel
|
||||
BuildRequires: clang-devel
|
||||
BuildRequires: llvm15-devel
|
||||
BuildRequires: clang15-devel
|
||||
BuildRequires: bcc-devel >= 0.19.0-1
|
||||
BuildRequires: libbpf-devel
|
||||
BuildRequires: libbpf-static
|
||||
|
@ -47,6 +47,7 @@ and predecessor tracers such as DTrace and SystemTap
|
|||
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DBUILD_TESTING:BOOL=OFF \
|
||||
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
||||
-DLLVM_REQUESTED_VERSION=15 \
|
||||
-DUSE_SYSTEM_BPF_BCC:BOOL=ON
|
||||
%cmake_build
|
||||
|
||||
|
@ -82,6 +83,10 @@ find %{buildroot}%{_datadir}/%{name}/tools -type f -exec \
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Apr 25 2023 David Abdurachmanov <davidlt@rivosinc.com> - 0.17.0-1.0.riscv64
|
||||
- Enable riscv64
|
||||
- Use LLVM/Clang 15
|
||||
|
||||
* Tue Jan 31 2023 Augusto Caringi <acaringi@redhat.com> - 0.17.0-1
|
||||
- Rebased to version 0.17.0
|
||||
|
||||
|
|
Loading…
Reference in New Issue