[PATCH v2 0/8] A handful of Meson cleanups and improvements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

this patch series contains a couple of more-or-less random cleanups and
improvements for Meson that I have accumulated over the last two months.

Changes in v2:
  - Fix an off-by-one error for test slices used in GitHub Workflows.
  - Now tested with both GitLab (https://gitlab.com/gitlab-org/git/-/merge_requests/375)
    and GitHub (https://github.com/git/git/pull/2010).
  - Link to v1: https://lore.kernel.org/r/20250703-b4-pks-meson-cleanups-v1-0-2804c2932abe@xxxxxx

Thanks!

Patrick

---
Patrick Steinhardt (8):
      meson: stop discovering native version of Python
      meson: stop printing 'https' option twice in our summaries
      meson: improve summary of auto-detected features
      meson: clean up unnecessary variables
      meson: fix lookup of shell on MINGW64
      meson: fix GIT_EXEC_PATH with overridden -Dlibexecdir=
      meson: update subproject wrappers
      ci: use Meson's new `--slice` option

 .github/workflows/main.yml |  2 +-
 .gitlab-ci.yml             |  2 +-
 Documentation/meson.build  |  5 ++---
 meson.build                | 26 ++++++++++++--------------
 subprojects/expat.wrap     | 18 +++++++++---------
 subprojects/pcre2.wrap     | 18 +++++++++---------
 6 files changed, 34 insertions(+), 37 deletions(-)

Range-diff versus v1:

1:  34bb9288218 = 1:  2130ccdfb14 meson: stop discovering native version of Python
2:  a6f1b52d44f = 2:  4274c321f0b meson: stop printing 'https' option twice in our summaries
3:  01a8c379314 = 3:  cdc8c9d8655 meson: improve summary of auto-detected features
4:  306af85a4a3 = 4:  373496880ce meson: clean up unnecessary variables
5:  d8308e96c74 = 5:  cd2bfeaccd2 meson: fix lookup of shell on MINGW64
6:  583c3e701c8 = 6:  9135b7f6012 meson: fix GIT_EXEC_PATH with overridden -Dlibexecdir=
7:  c3edc233952 = 7:  16e0f2d1e22 meson: update subproject wrappers
8:  22a62721031 ! 8:  2ab73ae33df ci: use Meson's new `--slice` option
    @@ .github/workflows/main.yml: jobs:
          - name: Test
            shell: pwsh
     -      run: meson test -C build --list | Select-Object -Skip 1 | Select-String .* | Group-Object -Property { $_.LineNumber % 10 } | Where-Object Name -EQ ${{ matrix.nr }} | ForEach-Object { meson test -C build --no-rebuild --print-errorlogs $_.Group }
    -+      run: meson test -C build --no-rebuild --print-errorlogs --slice ${{ matrix.nr }}/10
    ++      run: meson test -C build --no-rebuild --print-errorlogs --slice "$(1+${{ matrix.nr }})/10"
      
        regular:
          name: ${{matrix.vector.jobname}} (${{matrix.vector.pool}})

---
base-commit: 8b6f19ccfc3aefbd0f22f6b7d56ad6a3fc5e4f37
change-id: 20250703-b4-pks-meson-cleanups-f53858d694f3





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux