1
0
mirror of https://github.com/google/cpu_features.git synced 2025-04-27 23:22:31 +02:00

script: bump qemu to 9.0.4

note: qemu 9.1.2 currently segfault with aarch64be
ref: https://gitlab.com/qemu-project/qemu/-/issues/2580
This commit is contained in:
Mizux Seiha 2024-12-10 22:19:59 +01:00 committed by Corentin Le Molgat
parent 782c79ff1d
commit 79a95b1f60

View File

@ -33,7 +33,7 @@ function install_qemu() {
>&2 echo 'QEMU is disabled !'
return 0
fi
local -r QEMU_VERSION=${QEMU_VERSION:=9.0.2}
local -r QEMU_VERSION=${QEMU_VERSION:=9.0.4}
local -r QEMU_TARGET=${QEMU_ARCH}-linux-user
if echo "${QEMU_VERSION} ${QEMU_TARGET}" | cmp --silent "${QEMU_INSTALL}/.build" -; then
@ -49,8 +49,8 @@ function install_qemu() {
# Checking for a tarball before downloading makes testing easier :-)
local -r QEMU_URL="https://download.qemu.org/qemu-${QEMU_VERSION}.tar.xz"
local -r QEMU_DIR="qemu-${QEMU_VERSION}"
unpack ${QEMU_URL} ${QEMU_DIR}
cd ${QEMU_DIR} || exit 2
unpack "${QEMU_URL}" "${QEMU_DIR}"
cd "${QEMU_DIR}" || exit 2
# Qemu (meson based build) depends on: pkgconf, libglib2.0, python3, ninja
./configure \