[PATCH v2 0/3] single-binary: compile some top level files once

Pierrick Bouvier posted 3 patches 2 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250730220519.1140447-1-pierrick.bouvier@linaro.org
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Pierrick Bouvier <pierrick.bouvier@linaro.org>
meson.build                |  9 +++++----
include/exec/target_page.h | 11 ++++++++++-
cpu-target.c               |  5 -----
page-target.c              | 21 ---------------------
target-info-stub.c         |  4 ++++
system/meson.build         |  1 +
6 files changed, 20 insertions(+), 31 deletions(-)
delete mode 100644 page-target.c
[PATCH v2 0/3] single-binary: compile some top level files once
Posted by Pierrick Bouvier 2 months, 2 weeks ago
We still have some files left on top files that are compiled per target. Start
with the ones included in this series.

v2
--

- rebase cleanly on top of master
- remove empty page-target.c file

Pierrick Bouvier (3):
  cpu-target: build compilation unit once for user/system
  include/exec/target_page.h: move page-target.c to header
  system/main.c: compile only once

 meson.build                |  9 +++++----
 include/exec/target_page.h | 11 ++++++++++-
 cpu-target.c               |  5 -----
 page-target.c              | 21 ---------------------
 target-info-stub.c         |  4 ++++
 system/meson.build         |  1 +
 6 files changed, 20 insertions(+), 31 deletions(-)
 delete mode 100644 page-target.c

-- 
2.47.2
Re: [PATCH v2 0/3] single-binary: compile some top level files once
Posted by Philippe Mathieu-Daudé 1 month, 3 weeks ago
On 31/7/25 00:05, Pierrick Bouvier wrote:
> We still have some files left on top files that are compiled per target. Start
> with the ones included in this series.


> Pierrick Bouvier (3):
>    cpu-target: build compilation unit once for user/system
>    include/exec/target_page.h: move page-target.c to header
>    system/main.c: compile only once

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

and queued, thanks!

Re: [PATCH v2 0/3] single-binary: compile some top level files once
Posted by Pierrick Bouvier 1 month, 3 weeks ago
On 2025-07-30 15:05, Pierrick Bouvier wrote:
> We still have some files left on top files that are compiled per target. Start
> with the ones included in this series.
> 
> v2
> --
> 
> - rebase cleanly on top of master
> - remove empty page-target.c file
> 
> Pierrick Bouvier (3):
>    cpu-target: build compilation unit once for user/system
>    include/exec/target_page.h: move page-target.c to header
>    system/main.c: compile only once
> 
>   meson.build                |  9 +++++----
>   include/exec/target_page.h | 11 ++++++++++-
>   cpu-target.c               |  5 -----
>   page-target.c              | 21 ---------------------
>   target-info-stub.c         |  4 ++++
>   system/meson.build         |  1 +
>   6 files changed, 20 insertions(+), 31 deletions(-)
>   delete mode 100644 page-target.c
> 

Ping on this series.
I'll be out next week, but it should be ready to be pulled once the 
trunk reopens.

Regards,
Pierrick