RE: [RFC] building postgres with meson - v13

Поиск
Список
Период
Сортировка
От shiy.fnst@fujitsu.com
Тема RE: [RFC] building postgres with meson - v13
Дата
Msg-id OSZPR01MB6310E286138C04567D3D146FFD259@OSZPR01MB6310.jpnprd01.prod.outlook.com
обсуждение исходный текст
Ответ на Re: [RFC] building postgres with meson - v13  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [RFC] building postgres with meson - v13  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hi,

I noticed that `pg_config --configure` didn't show the options given when
building with meson.

For example,
meson setup build -Dcache=gcc.cache -Ddtrace=enabled -Dicu=enabled -Dcassert=true
-Dprefix=/home/postgres/install_meson/
meson compile -C build
meson install -C build

$ pg_config --configure

The options I specified (like dtrace) are not shown. I found they actually work
in compilation.
When specifying `-Ddtrace=enabled`, there is a log like this. And with
`-Ddtrace=disabled`, no such log.

[120/1834] /usr/bin/dtrace -C -h -s ../src/include/utils/../../backend/utils/probes.d -o src/include/utils/probes.h.tmp

Maybe it would be better if pg_config can output this information, to be
consistent with the output when building with `./configure` and `make`.

The output when building with `./configure` and `make`:
$ pg_config --configure
 '--prefix=/home/postgres/install/' '--cache' 'gcc.cache' '--enable-dtrace' '--with-icu' '--enable-cassert'


Regards,
Shi yu



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Refactor to introduce pg_strcoll().
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Move backup-related code to xlogbackup.c/.h