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 touch qemu-build
qemu-binary: 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 podman run --rm --name qemu-builder -v $(PWD):/src repo.brass.host/libvirt/qemu-build sh ./build.sh
touch qemu-binary touch qemu-binary
# buildah from almalinux:8 --name "qemu-build" -v $(PWD):/src # buildah from almalinux:8 --name "qemu-build" -v $(PWD):/src

View File

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