Skip to content

Port JQ to Meson build system#3532

Open
Salamandar wants to merge 7 commits into
jqlang:masterfrom
Salamandar:meson
Open

Port JQ to Meson build system#3532
Salamandar wants to merge 7 commits into
jqlang:masterfrom
Salamandar:meson

Conversation

@Salamandar
Copy link
Copy Markdown

Hi, this is a suggestion to port jq to the Meson build system.
(small disclaimer, i was a meson contributor back in ye old days and I'm the one who ported Gimp to Meson)

So, the upsides are:

  • A slightly faster and more comprehensible configure (meson setup <build dir> instead of autoreconf -i ; ./configure) and more discoverable (meson_options.txt).
  • An out-of-build build by default
  • An advance build system automatically providing sanitizers, unity builds, easy to use build profiles (release, debug etc)
  • ~560 lines autoconf+automake to ~400 lines meson

downsides are:

  • Meson only supports subprojects in the subprojects subdirectory, so for "builtin" oniguruma to be included, the vendor directory should be renamed.

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.

1 participant