📝 Give make qemu's ninja build its measured times [ci skip]
The Makefile's comment said a clean build through QEMU's Makefile took about 7 minutes. Measured on um870 (16 threads): 310 s at QEMU's -j1 against 59 s at ninja's default, the same 1951 steps and the same binary. docs/qemu.md keeps the measurement; the comment cites it.
This commit is contained in:
1 parent
082fa9edd7
commit
fc80b3d67d
2 files changed
+7
-3
No files matched your search
@@ -53,8 +53,9 @@ vendor/qemu/configure:
|
||||
#
|
||||
# ninja builds the binary, at its own default parallelism or a caller's -jN:
|
||||
# QEMU's Makefile hands ninja -j1 where make was given no -j, which took
|
||||
# about 7 minutes for a clean build. ninja has meson regenerate build.ninja
|
||||
# where a meson file changed, as install-ctl.sh's build relies on.
|
||||
# 310 s for a clean build where ninja's default took 59 s (docs/qemu.md).
|
||||
# ninja has meson regenerate build.ninja where a meson file changed, as
|
||||
# install-ctl.sh's build relies on.
|
||||
QEMU_PKG_CONFIG := $(RUST_DIST)/lib/pkgconfig
|
||||
QEMU_PC_READ := $(QEMU_BUILD)/reims-vgpu.pc.configured
|
||||
QEMU_CONFIGURE_INPUTS := configure scripts/meson-buildoptions.sh pythondeps.toml VERSION
|
||||
|
||||
+4
-1
@@ -46,7 +46,10 @@ is newer than `build/qemu/config-host.mak`, as QEMU's own Makefile
|
||||
configures again. Then ninja builds `qemu-system-x86_64`, at its own default
|
||||
parallelism or a caller's `-jN` (QEMU's Makefile, called with no `-j`, hands
|
||||
ninja `-j1`), and has meson regenerate `build.ninja` where a meson file
|
||||
changed. configure fetches meson subprojects (`dtc`,
|
||||
changed. **Measured** on um870 (16 threads, vendor/qemu 1422502b,
|
||||
2026-11-13): a clean `make qemu` after the library's dist built
|
||||
QEMU's 1951 steps in 310 s through QEMU's Makefile at `-j1`, and in 59 s
|
||||
through ninja at its default, to the same binary. configure fetches meson subprojects (`dtc`,
|
||||
`keycodemapdb`, ...) into the source's `subprojects/`, which its own
|
||||
`.gitignore` covers.
|
||||
|
||||
|
||||
Reference in new issue
Block a user