summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Palachev <i.palachev@samsung.com>2015-03-10 11:41:07 +0300
committerIlya Palachev <i.palachev@samsung.com>2015-06-16 13:17:38 +0300
commit12c3f7d191fada37ba2650f1121e004f6921de41 (patch)
tree1ffa72277c2f65703bd073e9185b28360f3a35cb
parente749492b5947f3083f59db67da15e33d0ed9e1ea (diff)
downloadqemu-accel-12c3f7d191fada37ba2650f1121e004f6921de41.tar.gz
qemu-accel-12c3f7d191fada37ba2650f1121e004f6921de41.tar.bz2
qemu-accel-12c3f7d191fada37ba2650f1121e004f6921de41.zip
Add cmake to accelerate the build
Change-Id: I3db1307bc755af87f594e8c5927c649e3e9a342b Signed-off-by: Ilya Palachev <i.palachev@samsung.com>
-rw-r--r--packaging/qemu-accel-aarch64.spec4
-rw-r--r--packaging/qemu-accel-armv7l.spec4
-rw-r--r--packaging/qemu-accel.spec.in4
3 files changed, 9 insertions, 3 deletions
diff --git a/packaging/qemu-accel-aarch64.spec b/packaging/qemu-accel-aarch64.spec
index 5536629..eca2b54 100644
--- a/packaging/qemu-accel-aarch64.spec
+++ b/packaging/qemu-accel-aarch64.spec
@@ -58,6 +58,7 @@ BuildRequires: rpmlint-mini
BuildRequires: qemu-linux-user
BuildRequires: elfutils
BuildRequires: libxslt-tools
+BuildRequires: cmake
Requires: coreutils
Requires(post): update-alternatives
Requires(postun): update-alternatives
@@ -127,7 +128,8 @@ for executable in $LD \
/usr/bin/patch \
/usr/bin/%{emulated_arch_triple_short}-{%{binaries_binutils_comma}} \
/usr/bin/eu-{addr2line,ar,elfcmp,elflint,findtextrel,ld,nm,objdump,ranlib,readelf,size,stack,strings,strip,unstrip} \
- /usr/bin/xsltproc
+ /usr/bin/xsltproc \
+ /usr/bin/{ccmake,cmake,cpack,ctest}
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 a22c5ed..f2aa79f 100644
--- a/packaging/qemu-accel-armv7l.spec
+++ b/packaging/qemu-accel-armv7l.spec
@@ -58,6 +58,7 @@ BuildRequires: rpmlint-mini
BuildRequires: qemu-linux-user
BuildRequires: elfutils
BuildRequires: libxslt-tools
+BuildRequires: cmake
Requires: coreutils
Requires(post): update-alternatives
Requires(postun): update-alternatives
@@ -127,7 +128,8 @@ for executable in $LD \
/usr/bin/patch \
/usr/bin/%{emulated_arch_triple_short}-{%{binaries_binutils_comma}} \
/usr/bin/eu-{addr2line,ar,elfcmp,elflint,findtextrel,ld,nm,objdump,ranlib,readelf,size,stack,strings,strip,unstrip} \
- /usr/bin/xsltproc
+ /usr/bin/xsltproc \
+ /usr/bin/{ccmake,cmake,cpack,ctest}
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 22732df..860c366 100644
--- a/packaging/qemu-accel.spec.in
+++ b/packaging/qemu-accel.spec.in
@@ -58,6 +58,7 @@ BuildRequires: rpmlint-mini
BuildRequires: qemu-linux-user
BuildRequires: elfutils
BuildRequires: libxslt-tools
+BuildRequires: cmake
Requires: coreutils
Requires(post): update-alternatives
Requires(postun): update-alternatives
@@ -127,7 +128,8 @@ for executable in $LD \
/usr/bin/patch \
/usr/bin/%{emulated_arch_triple_short}-{%{binaries_binutils_comma}} \
/usr/bin/eu-{addr2line,ar,elfcmp,elflint,findtextrel,ld,nm,objdump,ranlib,readelf,size,stack,strings,strip,unstrip} \
- /usr/bin/xsltproc
+ /usr/bin/xsltproc \
+ /usr/bin/{ccmake,cmake,cpack,ctest}
do
binaries="$binaries $executable `ldd $executable | sed -n 's,.*=> \(/[^ ]*\) .*,\1,p'`"
done