Re: --enable-{debug,cassert} should also activate --enable-depend

From: Aleksander Alekseev <aleksander(at)timescale(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Cc: Dimitrios Apostolou <jimis(at)gmx(dot)net>
Subject: Re: --enable-{debug,cassert} should also activate --enable-depend
Date: 2025-06-17 13:48:14
Message-ID: CAJ7c6TO2mWe7Ba2mNfsH3jDiKZtUe--vFTfqRWejLzFoAMpo5Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Dimitris,

> Do you mean autotools are being deprecated in postgres? So people should
> better choose meson?

Yes, Meson support was added in PostgreSQL 16 and it will eventually
replace Autotools [1]. Meson is more convenient and works faster so I
encourage you to give it a try.

Here is a quick start:

```
sudo apt install ninja-build

pip3 install meson
# or: sudo apt install meson

meson setup --buildtype debug -Dcassert=true -Dtap_tests=enabled
-Dlz4=enabled -Dldap=disabled -Dprefix=/Users/eax/pginstall build
ninja -C build
meson test -C build
```

[1]: https://www.postgresql.org/docs/release/16.0/

--
Best regards,
Aleksander Alekseev

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Xuneng Zhou 2025-06-17 13:50:12 Re: Add progressive backoff to XactLockTableWait functions
Previous Message Andres Freund 2025-06-17 13:47:37 Re: Non-reproducible AIO failure