[PULL 00/45] Next round of Meson bugfixes and cleanups

Paolo Bonzini posted 45 patches 3 years, 7 months ago
Only 2 patches received!
There is a newer version of this series
.gitignore                       |   2 -
Makefile                         |  63 +++---
Makefile.objs                    |  34 ----
accel/tcg/meson.build            |   2 +-
chardev/meson.build              |   4 +-
configure                        | 303 ++++------------------------
disas/meson.build                |   4 +-
docs/devel/build-system.rst      |  18 +-
hw/arm/meson.build               |   2 +-
hw/mips/meson.build              |   2 +-
hw/riscv/meson.build             |   2 +-
meson.build                      | 124 +++++++++---
monitor/meson.build              |   2 +-
rules.mak                        | 158 ---------------
scripts/grepy.sh                 |   3 -
scripts/mtest2make.py            | 100 +++++-----
scripts/ninjatool.py             |   8 +-
scripts/oss-fuzz/build.sh        |   2 +-
scripts/test-driver.py           |  35 ++++
scripts/undefsym.py              |  49 +++++
scripts/undefsym.sh              |  20 --
tests/Makefile.include           | 414 ++-------------------------------------
tests/benchmark-crypto-cipher.c  |   8 +-
tests/benchmark-crypto-hash.c    |   2 +-
tests/benchmark-crypto-hmac.c    |   8 +-
tests/docker/Makefile.include    |   4 +
tests/include/meson.build        |  16 ++
tests/meson.build                | 256 ++++++++++++++++++++++++
tests/migration/initrd-stress.sh |  10 +
tests/migration/meson.build      |  14 ++
tests/migration/stress.c         |  15 +-
tests/qemu-iotests/meson.build   |   4 -
tests/qtest/fuzz/meson.build     |   7 +-
tests/qtest/libqos/meson.build   |   9 +-
tests/tcg/Makefile.qemu          |   2 -
tests/test-crypto-secret.c       |  10 +-
tests/test-qga.c                 |   2 +-
tests/test-replication.c         |   4 +
ui/meson.build                   |   1 +
39 files changed, 659 insertions(+), 1064 deletions(-)
delete mode 100644 Makefile.objs
delete mode 100644 rules.mak
delete mode 100755 scripts/grepy.sh
create mode 100644 scripts/test-driver.py
create mode 100644 scripts/undefsym.py
delete mode 100755 scripts/undefsym.sh
create mode 100644 tests/include/meson.build
create mode 100755 tests/migration/initrd-stress.sh
create mode 100644 tests/migration/meson.build
[PULL 00/45] Next round of Meson bugfixes and cleanups
Posted by Paolo Bonzini 3 years, 7 months ago
The following changes since commit 227de21ed0759e275a469394af72c999d0134bb5:

  Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20200903' into staging (2020-09-05 15:30:41 +0100)

are available in the Git repository at:

  https://gitlab.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to 17701f5a5d5ca20e9af8034b219c9b11c66f325a:

  meson: remove linkage of sdl to baum (2020-09-06 22:07:58 +0200)

----------------------------------------------------------------
meson related:
* convert unit tests
* bugfixes for mtest2make
* miscellaneous bugfixes
* dead code removal and configure cleanups
* oss-fuzz fixes
* msys fixes

----------------------------------------------------------------
Alexander Bulekov (3):
      oss-fuzz: fix rpath
      meson: specify fuzz linker script as a project arg
      fuzz: Add support for custom fuzzing library

Bruce Rogers (1):
      meson: remove linkage of sdl to baum

Marc-André Lureau (12):
      meson: build qapi tests library
      meson: declare tasn1 dependency
      meson: declare keyutils dependency
      meson: convert qht-bench
      meson: move keyutils dependency check
      meson: remove old socket_scm_helper rule
      meson: convert vhost-user-bridge
      meson: convert atomic*-bench
      tests: do not print benchmark output to stdout
      tests/migration/stress: remove unused exit_success
      meson: fix migration/stress compilation with glibc>=2.30
      meson: convert migration/initrd-stress

Paolo Bonzini (24):
      qemu-iotests: move check-block back to Makefiles
      mtest2make: split environment from test command
      mtest2make: split working directory from test command
      mtest2make: hide output of successful tests
      mtest2make: unify tests that appear in multiple suites
      meson: remove b_lundef option
      configure: do not include absolute paths in -I and -L paths
      configure: include cross sdl2-config in meson cross file
      ninjatool: use constant names for stamp files
      meson: fix libqos linking
      meson: convert the speed tests
      configure: remove dead code for in-tree builds
      meson: compute config_all_devices directly
      Makefile: remove dead variables and includes
      Makefile: inline the relevant parts of rules.mak
      configure: move disassembler configuration to meson
      meson: keep all compiler flags detection together
      configure: move -ldl test to meson
      configure: remove unnecessary libm test
      configure: do not look for install(1)
      meson: get glib compilation flags from GLIB_CFLAGS
      configure: do not include dependency flags in QEMU_CFLAGS and LIBS
      configure: drop dead variables and functions
      docs: suggest Meson replacements for various configure functions

Thomas Huth (2):
      tests/Makefile: test-image-locking needs CONFIG_POSIX
      meson: convert the unit tests

Yonggang Luo (3):
      tests: handling signal on win32 properly
      configure: update dtc submodule
      meson: Convert undefsym.sh to undefsym.py

 .gitignore                       |   2 -
 Makefile                         |  63 +++---
 Makefile.objs                    |  34 ----
 accel/tcg/meson.build            |   2 +-
 chardev/meson.build              |   4 +-
 configure                        | 303 ++++------------------------
 disas/meson.build                |   4 +-
 docs/devel/build-system.rst      |  18 +-
 hw/arm/meson.build               |   2 +-
 hw/mips/meson.build              |   2 +-
 hw/riscv/meson.build             |   2 +-
 meson.build                      | 124 +++++++++---
 monitor/meson.build              |   2 +-
 rules.mak                        | 158 ---------------
 scripts/grepy.sh                 |   3 -
 scripts/mtest2make.py            | 100 +++++-----
 scripts/ninjatool.py             |   8 +-
 scripts/oss-fuzz/build.sh        |   2 +-
 scripts/test-driver.py           |  35 ++++
 scripts/undefsym.py              |  49 +++++
 scripts/undefsym.sh              |  20 --
 tests/Makefile.include           | 414 ++-------------------------------------
 tests/benchmark-crypto-cipher.c  |   8 +-
 tests/benchmark-crypto-hash.c    |   2 +-
 tests/benchmark-crypto-hmac.c    |   8 +-
 tests/docker/Makefile.include    |   4 +
 tests/include/meson.build        |  16 ++
 tests/meson.build                | 256 ++++++++++++++++++++++++
 tests/migration/initrd-stress.sh |  10 +
 tests/migration/meson.build      |  14 ++
 tests/migration/stress.c         |  15 +-
 tests/qemu-iotests/meson.build   |   4 -
 tests/qtest/fuzz/meson.build     |   7 +-
 tests/qtest/libqos/meson.build   |   9 +-
 tests/tcg/Makefile.qemu          |   2 -
 tests/test-crypto-secret.c       |  10 +-
 tests/test-qga.c                 |   2 +-
 tests/test-replication.c         |   4 +
 ui/meson.build                   |   1 +
 39 files changed, 659 insertions(+), 1064 deletions(-)
 delete mode 100644 Makefile.objs
 delete mode 100644 rules.mak
 delete mode 100755 scripts/grepy.sh
 create mode 100644 scripts/test-driver.py
 create mode 100644 scripts/undefsym.py
 delete mode 100755 scripts/undefsym.sh
 create mode 100644 tests/include/meson.build
 create mode 100755 tests/migration/initrd-stress.sh
 create mode 100644 tests/migration/meson.build
-- 
2.26.2


Re: [PULL 00/45] Next round of Meson bugfixes and cleanups
Posted by Peter Maydell 3 years, 7 months ago
On Sun, 6 Sep 2020 at 21:21, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> The following changes since commit 227de21ed0759e275a469394af72c999d0134bb5:
>
>   Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20200903' into staging (2020-09-05 15:30:41 +0100)
>
> are available in the Git repository at:
>
>   https://gitlab.com/bonzini/qemu.git tags/for-upstream
>
> for you to fetch changes up to 17701f5a5d5ca20e9af8034b219c9b11c66f325a:
>
>   meson: remove linkage of sdl to baum (2020-09-06 22:07:58 +0200)
>
> ---------------------------------------------------------------

Windows: same mkdir() issue as previous version
OpenBSD: same epoxy/gl.h issue as previous version

all-linux-static config fails to link:

Linking target qemu-aarch64
/usr/bin/ld: cannot find -lepoxy
/usr/bin/ld: cannot find -lgbm
collect2: error: ld returned 1 exit status
Makefile.ninja:710: recipe for target 'qemu-aarch64' failed

thanks
-- PMM