Builds QEMU for Windows.
- Run on a Debian stretch installation (container is OK)
- The build takes ~1hrs on a single Xeon E5 core (assuming network is good)
MAKE_FLAGS
is by default-j
which enables all cores, and this might result in an OOM; set to-j4
or something smallerbuild-stage1.sh
must be executed under root;build-stage2.sh
can be executed under any userSOURCE_BASE_DIR
andBUILD_ARTIFACTS_DIR
must be writable by the stage2 user; all existing files will be removed in the 2 directories