Skip to content

Commit

Permalink
qemu: Autospec creation for version 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cHolzberger committed Jan 10, 2019
1 parent 3dc943d commit 2e77093
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 7 deletions.
1 change: 1 addition & 0 deletions buildreq_add
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ zlib-dev
libiscsi-dev
libiscsi
jemalloc-dev
curl-dev
1 change: 0 additions & 1 deletion buildreq_ban
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ ncurses-dev
gnutls-dev
nettle-dev
lzo-dev
curl-dev
pkgconfig(pixman-1)
python-dev
1 change: 1 addition & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@
--enable-libiscsi
--enable-coroutine-pool
--enable-jemalloc
--enable-numa
#--enable-curses
13 changes: 8 additions & 5 deletions qemu.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
Name : qemu
Version : 3.1.0
Release : 96
Release : 97
URL : http://wiki.qemu-project.org/download/qemu-3.1.0.tar.xz
Source0 : http://wiki.qemu-project.org/download/qemu-3.1.0.tar.xz
Source99 : http://wiki.qemu-project.org/download/qemu-3.1.0.tar.xz.sig
Expand All @@ -25,6 +25,7 @@ BuildRequires : buildreq-cmake
BuildRequires : buildreq-distutils3
BuildRequires : buildreq-qmake
BuildRequires : ceph-dev
BuildRequires : curl-dev
BuildRequires : flex
BuildRequires : glib-dev
BuildRequires : gtk3
Expand Down Expand Up @@ -117,7 +118,7 @@ export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C
export SOURCE_DATE_EPOCH=1547108685
export SOURCE_DATE_EPOCH=1547110034
export CFLAGS="$CFLAGS -fstack-protector-strong -mzero-caller-saved-regs=used "
export FCFLAGS="$CFLAGS -fstack-protector-strong -mzero-caller-saved-regs=used "
export FFLAGS="$CFLAGS -fstack-protector-strong -mzero-caller-saved-regs=used "
Expand All @@ -144,7 +145,8 @@ export CXXFLAGS="$CXXFLAGS -fstack-protector-strong -mzero-caller-saved-regs=use
--enable-opengl \
--enable-libiscsi \
--enable-coroutine-pool \
--enable-jemalloc
--enable-jemalloc \
--enable-numa
make %{?_smp_mflags}

unset PKG_CONFIG_PATH
Expand Down Expand Up @@ -174,7 +176,8 @@ export LDFLAGS="$LDFLAGS -m64 -march=haswell"
--enable-opengl \
--enable-libiscsi \
--enable-coroutine-pool \
--enable-jemalloc
--enable-jemalloc \
--enable-numa
make %{?_smp_mflags}
popd
%check
Expand All @@ -185,7 +188,7 @@ export no_proxy=localhost,127.0.0.1,0.0.0.0
make check || :

%install
export SOURCE_DATE_EPOCH=1547108685
export SOURCE_DATE_EPOCH=1547110034
rm -rf %{buildroot}
pushd ../buildavx2/
%make_install_avx2
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
96
97
1 change: 1 addition & 0 deletions used_libs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ libaio.so.1
libc.so.6
libcairo.so.2
libcap-ng.so.0
libcurl.so.4
libepoxy.so.0
libgbm.so.1
libgcc_s.so.1
Expand Down

0 comments on commit 2e77093

Please sign in to comment.