Skip to content

Meson updates#113

Merged
jcupitt merged 7 commits intoImagingDataCommons:mainfrom
bgilbert:meson
Mar 20, 2026
Merged

Meson updates#113
jcupitt merged 7 commits intoImagingDataCommons:mainfrom
bgilbert:meson

Conversation

@bgilbert
Copy link
Collaborator

Notably, require Meson ≥ 0.55 to fix a Meson warning, since older versions aren't really relevant now. Build in CI with --fatal-meson-warnings so Meson warnings are noticed promptly.

There's obviously some deck-chair rearrangement going on here, so let me know if you want any of these commits dropped.

Meson 1.9.0+ create it.
@bgilbert bgilbert force-pushed the meson branch 3 times, most recently from 81692ce to 1d63a19 Compare March 20, 2026 15:17
Fixes build failure in check if libsubunit is available.
This is now sufficient for the oldest supported Debian and Ubuntu
releases, and lets us assume dependency('foo') is sufficient for falling
back to foo.wrap.

Fixes Meson warning:

    WARNING: Project specifies a minimum meson_version '>=0.50' but uses features which were added in newer versions:
     * 0.54.0: {'fallback arg in dependency'}
Ensure Meson warnings are noticed, at the cost of occasionally allowing
Meson updates to break CI.
Add a wrapper script to rerun it.
Convert file lists from arrays to files() so the formatter will sort them.
Meson 1.7.0+ respects build_by_default: false for tests.
@jcupitt jcupitt merged commit 2f013dc into ImagingDataCommons:main Mar 20, 2026
6 checks passed
@jcupitt
Copy link
Collaborator

jcupitt commented Mar 20, 2026

Re. deckchairs, no problem, anything that makes it even a little more polished is great.

@bgilbert bgilbert deleted the meson branch March 20, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants