Add support for riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-04-22 13:58:18 +03:00 committed by Richard W.M. Jones
parent 267b636ed6
commit 7a29eb1782

View File

@ -3,14 +3,14 @@
%bcond_with lua %bcond_with lua
%else %else
# luajit is not available for some architectures # luajit is not available for some architectures
%ifarch ppc64 ppc64le s390x %ifarch ppc64 ppc64le s390x riscv64
%bcond_with lua %bcond_with lua
%else %else
%bcond_without lua %bcond_without lua
%endif %endif
%endif %endif
%ifarch x86_64 ppc64 ppc64le aarch64 s390x %ifarch x86_64 ppc64 ppc64le aarch64 s390x riscv64
%bcond_without libbpf_tools %bcond_without libbpf_tools
%else %else
%bcond_with libbpf_tools %bcond_with libbpf_tools
@ -36,7 +36,7 @@ Patch2: Sync-with-latest-libbpf-repo-4889.patch
# Arches will be included as upstream support is added and dependencies are # Arches will be included as upstream support is added and dependencies are
# satisfied in the respective arches # satisfied in the respective arches
ExclusiveArch: x86_64 %{power64} aarch64 s390x armv7hl ExclusiveArch: x86_64 %{power64} aarch64 s390x armv7hl riscv64
BuildRequires: bison BuildRequires: bison
BuildRequires: cmake >= 2.8.7 BuildRequires: cmake >= 2.8.7