summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2016-11-30 11:51:40 +0900
committerJiyoung Yun <jy910.yun@samsung.com>2016-12-08 09:52:39 +0900
commita50d014770b38e4650685ba3d9747ee2a60a1402 (patch)
tree7a9fb1e0cc2f753ff7b257ef43c996a26432c8b8
parent6d7edcd5c78ea1bbf338c2803d1dc0889f593e76 (diff)
downloadqemu-accel-a50d014770b38e4650685ba3d9747ee2a60a1402.tar.gz
qemu-accel-a50d014770b38e4650685ba3d9747ee2a60a1402.tar.bz2
qemu-accel-a50d014770b38e4650685ba3d9747ee2a60a1402.zip
Mono is an open source implementation of Microsoft's .NET Framework. C# APIs execute mono when extracting dll files from nupkg but the mono binary for armv7l is unstable on qemu and the performance is very low. So we add mono to qemu-accel to accelerate build. Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com> Change-Id: Ia9e60bc673a5259df9e96f85aa9687fe488b4bbd
-rw-r--r--packaging/qemu-accel-aarch64.spec5
-rw-r--r--packaging/qemu-accel-armv7l.spec5
-rw-r--r--packaging/qemu-accel.spec.in5
3 files changed, 12 insertions, 3 deletions
diff --git a/packaging/qemu-accel-aarch64.spec b/packaging/qemu-accel-aarch64.spec
index 87a1034..00c30f4 100644
--- a/packaging/qemu-accel-aarch64.spec
+++ b/packaging/qemu-accel-aarch64.spec
@@ -57,6 +57,7 @@ BuildRequires: python-rpm
BuildRequires: file
BuildRequires: libasan
BuildRequires: icecream
+BuildRequires: mono-core
Summary: Native binaries for speeding up cross compile
License: GPL-2.0
Group: Development/Cross Compilation
@@ -135,7 +136,9 @@ for executable in $LD \
${real_compiler} \
%{_bindir}/{find,xargs,readlink,ls,cpio} \
%{_prefix}/lib/rpm/debugedit \
- %{_prefix}/lib/rpm/*deps
+ %{_prefix}/lib/rpm/*deps \
+ %{_bindir}/mono-sgen \
+ %{_libdir}/{libmonoboehm-*.so.*,libMonoPosixHelper.so,libmonosgen-*.so.*}
do
binaries="$binaries $executable `ldd $executable | sed -n 's,.*=> \(/[^ ]*\) .*,\1,p'`"
done
diff --git a/packaging/qemu-accel-armv7l.spec b/packaging/qemu-accel-armv7l.spec
index d4e46aa..263f4a4 100644
--- a/packaging/qemu-accel-armv7l.spec
+++ b/packaging/qemu-accel-armv7l.spec
@@ -57,6 +57,7 @@ BuildRequires: python-rpm
BuildRequires: file
BuildRequires: libasan
BuildRequires: icecream
+BuildRequires: mono-core
Summary: Native binaries for speeding up cross compile
License: GPL-2.0
Group: Development/Cross Compilation
@@ -135,7 +136,9 @@ for executable in $LD \
${real_compiler} \
%{_bindir}/{find,xargs,readlink,ls,cpio} \
%{_prefix}/lib/rpm/debugedit \
- %{_prefix}/lib/rpm/*deps
+ %{_prefix}/lib/rpm/*deps \
+ %{_bindir}/mono-sgen \
+ %{_libdir}/{libmonoboehm-*.so.*,libMonoPosixHelper.so,libmonosgen-*.so.*}
do
binaries="$binaries $executable `ldd $executable | sed -n 's,.*=> \(/[^ ]*\) .*,\1,p'`"
done
diff --git a/packaging/qemu-accel.spec.in b/packaging/qemu-accel.spec.in
index ef8849d..b84d2d8 100644
--- a/packaging/qemu-accel.spec.in
+++ b/packaging/qemu-accel.spec.in
@@ -54,6 +54,7 @@ BuildRequires: python-rpm
BuildRequires: file
BuildRequires: libasan
BuildRequires: icecream
+BuildRequires: mono-core
Summary: Native binaries for speeding up cross compile
License: GPL-2.0
Group: Development/Cross Compilation
@@ -132,7 +133,9 @@ for executable in $LD \
${real_compiler} \
%{_bindir}/{find,xargs,readlink,ls,cpio} \
%{_prefix}/lib/rpm/debugedit \
- %{_prefix}/lib/rpm/*deps
+ %{_prefix}/lib/rpm/*deps \
+ %{_bindir}/mono-sgen \
+ %{_libdir}/{libmonoboehm-*.so.*,libMonoPosixHelper.so,libmonosgen-*.so.*}
do
binaries="$binaries $executable `ldd $executable | sed -n 's,.*=> \(/[^ ]*\) .*,\1,p'`"
done