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:
parent
1821cc8674
commit
8b88d87c44
2 changed files with 6 additions and 0 deletions
|
|
@ -279,6 +279,11 @@ BuildRequires: tix-devel
|
|||
BuildRequires: tk-devel < 1:9
|
||||
BuildRequires: tzdata
|
||||
|
||||
# Perf support is only available on x86_64 and aarch64 right now
|
||||
%ifarch x86_64 aarch64
|
||||
BuildRequires: perf
|
||||
%endif
|
||||
|
||||
%if %{with valgrind}
|
||||
BuildRequires: valgrind-devel
|
||||
%endif
|
||||
|
|
|
|||
|
|
@ -54,3 +54,4 @@
|
|||
- glibc-all-langpacks # for locale tests
|
||||
- marshalparser # for testing compatibility (magic numbers) with marshalparser
|
||||
- rpm # for debugging
|
||||
- perf # for test_perf_profiler
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue