Compare commits

...

10 Commits

Author SHA1 Message Date
David Abdurachmanov 41fd1dd0bc
Fix Release:
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-04-12 10:14:46 +03:00
David Abdurachmanov d2145978fd
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-04-12 09:57:41 +03:00
David Abdurachmanov b19dfb07bb
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-04-08 15:53:38 +03:00
David Abdurachmanov 3d3a6ab3ff
Bring back libatomic-static for RISC-V (riscv64)
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-08-21 16:36:06 -07:00
David Abdurachmanov 3326047100
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-08-21 13:25:58 -07:00
David Abdurachmanov f27f625845
Remove riscv64 backend patch
This patch might be upstreamed in the next QEMU version (3.2.0).

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2019-01-21 21:27:19 +01:00
David Abdurachmanov 7dafb6b5a6
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2019-01-21 21:24:24 +01:00
David Abdurachmanov 34bf911448 Re-enable systemtap (stap) trace backend for riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-05-10 11:36:12 +02:00
David Abdurachmanov 1a736eea9b Add libatomic-static for riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-05-10 00:31:05 +02:00
David Abdurachmanov 2e42dab32b Enable riscv64 as host (incl. WIP riscv backend patch)
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-05-09 18:06:22 +02:00
1 changed files with 17 additions and 4 deletions

View File

@ -33,7 +33,7 @@
# Matches numactl ExcludeArch
%global have_numactl 1
%ifarch s390 %{arm}
%ifarch s390 %{arm} riscv64
%global have_numactl 0
%endif
@ -161,7 +161,7 @@
Summary: QEMU is a FAST! processor emulator
Name: qemu
Version: 5.0.0
Release: 0.3%{?rcrel}%{?dist}
Release: 0.3%{?rcrel}.0.riscv64%{?dist}
Epoch: 2
License: GPLv2 and BSD and MIT and CC-BY
URL: http://www.qemu.org/
@ -301,7 +301,9 @@ BuildRequires: virglrenderer-devel
# qemu 2.6: Needed for gtk GL support, vhost-user-gpu
BuildRequires: mesa-libgbm-devel
# qemu 2.11: preferred disassembler for TCG
%ifnarch riscv64
BuildRequires: capstone-devel
%endif
# qemu 2.12: parallels disk images require libxml2 now
BuildRequires: libxml2-devel
%ifarch x86_64
@ -337,6 +339,10 @@ BuildRequires: libzstd-devel
BuildRequires: hostname
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
%if 0%{?hostqemu:1}
# For complicated reasons, this is required so that
@ -949,7 +955,7 @@ pathfix.py -pni "%{__python3} %{py3_shbang_opts}" scripts/qemu-trace-stap
%build
# drop -g flag to prevent memory exhaustion by linker
%ifarch s390
%ifarch s390 riscv64
%global optflags %(echo %{optflags} | sed 's/-g//')
sed -i.debug 's/"-g $CFLAGS"/"$CFLAGS"/g' configure
%endif
@ -989,6 +995,10 @@ run_configure() {
--python=%{__python3} \
--disable-strip \
--disable-werror \
%ifarch riscv64
--disable-capstone \
--disable-kvm \
%endif
--tls-priority=@QEMU,SYSTEM \
--enable-trace-backend=$tracebackends \
"$@" || cat config.log
@ -1340,7 +1350,7 @@ chmod +x %{buildroot}%{_libdir}/qemu/*.so
# https://bugzilla.redhat.com/show_bug.cgi?id=1206057
# Tests seem to be a recurring problem on s390, so I'd suggest just leaving
# it disabled.
%global archs_skip_tests s390
%global archs_skip_tests s390 riscv64
%global archs_ignore_test_failures 0
# Enable this temporarily if tests are broken
@ -1834,6 +1844,9 @@ getent passwd qemu >/dev/null || \
%changelog
* Sun Apr 12 2019 David Abdurachmanov <david.abdurachmanov@sifive.com> - 5.0.0-0.3.rc2.0.riscv64
- Enable support for RISC-V (riscv64)
* Thu Apr 09 2020 Cole Robinson <aintdiscole@gmail.com> - 5.0.0-0.3.rc2
- Update to qemu 5.0.0 rc2