Add perf to the testing BuildRequires

Perf profiling showing the Python functions is only
supported on x86_64 and aarch64 at the moment.

Adding perf as a BuildRequires allows tests that utilize the
perf binary to run.
This commit is contained in:
Charalampos Stratakis 2025-05-06 03:12:09 +02:00
commit 2198fa7927
2 changed files with 6 additions and 0 deletions

View file

@ -280,6 +280,11 @@ BuildRequires: gcc-c++
BuildRequires: gdb
BuildRequires: glibc-all-langpacks
BuildRequires: tzdata
# Perf support is only available on x86_64 and aarch64 right now
%ifarch x86_64 aarch64
BuildRequires: perf
%endif
%endif
%if %{with jit}