builds qemu-binary

This commit is contained in:
Alexey Chubukov 2023-12-28 08:24:02 +04:00
parent d0dc98def2
commit 744b35160f
Signed by: tea
GPG Key ID: D9C68D34A3CAE37A
2 changed files with 2 additions and 8 deletions

View File

@ -9,7 +9,6 @@ qemu-build:
touch qemu-build
qemu-binary: qemu-build
podman stop qemu-builder ; podman rm qemu-builder || true
podman run --rm --name qemu-builder -v $(PWD):/src repo.brass.host/libvirt/qemu-build sh ./build.sh
touch qemu-binary
# buildah from almalinux:8 --name "qemu-build" -v $(PWD):/src

View File

@ -14,7 +14,7 @@ rm -rf build
mkdir -p build
cd build
../configure \
--prefix=qemu \
--prefix=/ \
--localstatedir=var \
--enable-kvm \
--enable-gnutls \
@ -38,23 +38,18 @@ cd build
--enable-tcg \
--enable-tools \
--enable-tpm \
--enable-trace-backend=dtrace \
--enable-virtiofsd \
--enable-vhost-kernel \
--enable-vhost-net \
--enable-vhost-user \
--enable-vhost-user-blk-server \
--enable-vhost-vdpa \
--enable-vhost-vsock \
--enable-vnc \
--enable-vnc-png \
--enable-vnc-sasl \
--enable-werror \
--enable-xkbcommon \
--enable-attr \
--enable-avx2 \
--enable-cap-ng \
--enable-capstone=internal \
--enable-coroutine-pool \
--enable-curl \
--enable-debug-info \
@ -63,4 +58,4 @@ cd build
make -j 8
make install DESTDIR=/opt
cd /opt
tar -cJf /src/qemu/${QEMU_VERSION}.tar.xz ./
tar -cJf /src/${QEMU_VERSION}.tar.xz ./