buildsys: Build faster (mostly tools and linux-user)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 10 repliesIn review
- v14 patches 11 repliesSuperseded
Changes in v2 from the cover letter
- no code change, improved commit description, added review tags
- added 2 new patches touching hw/core/ (remove reset.o from linux-user)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | configure: Do not build libfdt if not requiredconfigure | +2 | 1 reply | |
| 2/6 | Makefile: Clarify all the codebase requires qom/ objectsMakefile.objs | +1 | 1 reply | |
| 3/6 | Makefile: Restrict system emulation and tools objectsMakefile.objs | +7 | 1 reply | |
| 4/6 | Makefile: Remove unhelpful commentMakefile.objs | +2 | 1 reply | |
| 5/6 | hw/core: Restrict reset handlers API to system-modehw/ | +2 | 3 replies | |
| 6/6 | hw/core/Makefile: Group generic objects versus system-mode objectshw/ | +14 | 1 reply |
Reviews trailers per patch
5 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Thomas Huth | Alistair Francis | Alex Bennée |
|---|---|---|---|
| 1/6 | R-b | R-b | R-b |
| 2/6 | R-b | R-b | |
| 3/6 | R-b | R-b | |
| 4/6 | R-b | R-b | |
| 5/6 | R-b | R-b | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 0/6] buildsys: Build faster (mostly tools and linux-user)
In some configuration (linux-user, tools) we can ignore building various objects (and the libfdt).
Tested with all the combinations of --[enable|disable]-tools, --[enable|disable]-user and --[enable|disable]-system using the following commands (suggested by Laurent Vivier in v1):
$ mkdir build
$ cd build
$ for user in enable disable; do \
for tools in enable disable; do \
for system in enable disable; do \
rm -fr build-$user-$system-$tools && \
mkdir build-$user-$system-$tools && \
(cd build-$user-$system-$tools && \
../../configure \
--${user}-user \
--${system}-system \
--${tools}-tools \
--disable-docs \
); \
done; \
done; \
doneThen building each of the 8 subdirectories on x86_64 and aarch64 hosts, running 'make check', and only on x86_64:
'make run-tcg-tests-x86_64-linux-user'.
All CI green:
https://gitlab.com/philmd/qemu/pipelines/110420332
https://travis-ci.org/philmd/qemu/builds/638781159
https://app.shippable.com/github/philmd/qemu/runs/587/summary/console
Since v1:
- no code change, improved commit description, added review tags
- added 2 new patches touching hw/core/ (remove reset.o from linux-user)
$ git backport-diff -u v1 Key: [----] : patches are identical [####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively
001/6:[----] [--] 'configure: Do not build libfdt if not required' 002/6:[----] [--] 'Makefile: Clarify all the codebase requires qom/ objects' 003/6:[----] [--] 'Makefile: Restrict system emulation and tools objects' 004/6:[----] [--] 'Makefile: Remove unhelpful comment'
005/6:[down] 'hw/core: Restrict reset handlers API to system-mode' 006/6:[down] 'hw/core/Makefile: Group generic objects versus system-mode objects'
Supersedes: <[email protected]>
Philippe Mathieu-Daudé (6):
configure: Do not build libfdt if not required
Makefile: Clarify all the codebase requires qom/ objects
Makefile: Restrict system emulation and tools objects
Makefile: Remove unhelpful comment
hw/core: Restrict reset handlers API to system-mode hw/core/Makefile: Group generic objects versus system-mode objects
configure | 2 ++ Makefile.objs | 31 ++++++++++--------------------- hw/core/Makefile.objs | 31 ++++++++++++++++--------------- 3 files changed, 28 insertions(+), 36 deletions(-)
Signature · 1 line
2.21.1