Enable riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
parent
0d7eae515e
commit
60b7351118
16
qemu.spec
16
qemu.spec
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
# Matches numactl ExcludeArch
|
# Matches numactl ExcludeArch
|
||||||
%global have_numactl 1
|
%global have_numactl 1
|
||||||
%ifarch %{arm}
|
%ifarch %{arm} riscv64
|
||||||
%global have_numactl 0
|
%global have_numactl 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -184,7 +184,7 @@
|
|||||||
Summary: QEMU is a FAST! processor emulator
|
Summary: QEMU is a FAST! processor emulator
|
||||||
Name: qemu
|
Name: qemu
|
||||||
Version: 5.1.0
|
Version: 5.1.0
|
||||||
Release: 7%{?rcrel}%{?dist}
|
Release: 7%{?rcrel}.0.riscv64%{?dist}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
License: GPLv2 and BSD and MIT and CC-BY
|
License: GPLv2 and BSD and MIT and CC-BY
|
||||||
URL: http://www.qemu.org/
|
URL: http://www.qemu.org/
|
||||||
@ -344,7 +344,9 @@ BuildRequires: virglrenderer-devel
|
|||||||
# qemu 2.6: Needed for gtk GL support, vhost-user-gpu
|
# qemu 2.6: Needed for gtk GL support, vhost-user-gpu
|
||||||
BuildRequires: mesa-libgbm-devel
|
BuildRequires: mesa-libgbm-devel
|
||||||
# qemu 2.11: preferred disassembler for TCG
|
# qemu 2.11: preferred disassembler for TCG
|
||||||
|
%ifnarch riscv64
|
||||||
BuildRequires: capstone-devel
|
BuildRequires: capstone-devel
|
||||||
|
%endif
|
||||||
# qemu 2.12: parallels disk images require libxml2 now
|
# qemu 2.12: parallels disk images require libxml2 now
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
@ -376,6 +378,10 @@ BuildRequires: hostname
|
|||||||
BuildRequires: daxctl-devel
|
BuildRequires: daxctl-devel
|
||||||
|
|
||||||
BuildRequires: glibc-static pcre-static glib2-static zlib-static
|
BuildRequires: glibc-static pcre-static glib2-static zlib-static
|
||||||
|
# if -pthread is used GCC SPEC will add --as-needed -latomic --no-as-needed for linker
|
||||||
|
%ifarch riscv64
|
||||||
|
BuildRequires: libatomic-static
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
Requires: %{name}-user = %{epoch}:%{version}-%{release}
|
Requires: %{name}-user = %{epoch}:%{version}-%{release}
|
||||||
@ -1411,6 +1417,9 @@ chmod +x %{buildroot}%{_libdir}/qemu/*.so
|
|||||||
%global tests_skip 0
|
%global tests_skip 0
|
||||||
# Enable this temporarily if tests are broken
|
# Enable this temporarily if tests are broken
|
||||||
%global tests_nofail 0
|
%global tests_nofail 0
|
||||||
|
%ifarch riscv64
|
||||||
|
%global tests_nofail 1
|
||||||
|
%endif
|
||||||
|
|
||||||
# 2020-08-31: tests passing, but s390x fails due to
|
# 2020-08-31: tests passing, but s390x fails due to
|
||||||
# spurious warning breaking an iotest case
|
# spurious warning breaking an iotest case
|
||||||
@ -1915,6 +1924,9 @@ getent passwd qemu >/dev/null || \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 04 2020 David Abdurachmanov <david.abdurachmanov@sifive.com> - 5.1.0-7.0.riscv64
|
||||||
|
- Enable riscv64
|
||||||
|
|
||||||
* Thu Dec 03 2020 Cole Robinson <crobinso@redhat.com> - 5.1.0-7
|
* Thu Dec 03 2020 Cole Robinson <crobinso@redhat.com> - 5.1.0-7
|
||||||
- vhost-vsock-pci regressions (bz #1902057)
|
- vhost-vsock-pci regressions (bz #1902057)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user