diff --git a/perf.spec b/perf.spec index afc9db5..51d012c 100644 --- a/perf.spec +++ b/perf.spec @@ -34,9 +34,18 @@ ExcludeArch: %{ix86} BuildRequires: make BuildRequires: bison BuildRequires: flex +%if 0%{?facebook} +%if 0%{?el9} +# Temporarily pin to building against the older clang +# so this works against an older Stream snapshot +BuildRequires: clang = 18.1.8-3.el9 +BuildRequires: llvm-devel = 18.1.8-3.el9 +%endif +%else BuildRequires: clang -BuildRequires: gcc BuildRequires: llvm-devel +%endif +BuildRequires: gcc BuildRequires: binutils-devel BuildRequires: capstone-devel BuildRequires: elfutils-devel