Scripts for building qemu on macos 15.2. Qemu will be installed in /Applications/qemu-<version>
directory.
Before running scripts you should install python module with command:
python3 -m pip install packaging
or on macos Sequoia:
python3 -m pip install tomli
Order of running scripts:
qemu-download.sh
: downloads required packages in./download/
directory and them unpack to./src/
. Both directories are created in current directory.qemu-build-libs.sh
: builds and installs software required to build qemu. Libraries are installed in./lib/
. All libs are build static only. Please note that the script does not buildqemu
.qemu-build.sh
: builds and installsqemu
in/Applications/qemu-<version>
Scripts do not modify shell startup files, so you have to add /Application/qemu-<version>/bin
to $PATH
Installed versions:
- qemu 9.2.0
- glib 2.83.2
- pkg-config 0.29.2
- libslirp 4.8.0
- ninja 1.12.1
- meson 1.5.1
After successfull intalation you can remove files from ./download/
, ./src/
and ./lib/