Re: buildfarm + meson

Поиск
Список
Период
Сортировка
От Nazir Bilal Yavuz
Тема Re: buildfarm + meson
Дата
Msg-id CAN55FZ0e7yACHYPf0h7VT4QbkLX5npx55sXBDfjimFHmtjTv+g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: buildfarm + meson  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Hi,

On Wed, 8 Mar 2023 at 16:57, Andrew Dunstan <andrew@dunslane.net> wrote:
> So if I understand this right, the way to use this would be something like:
>
>
>     local $ENV{DESTDIR} = $installdir;
>
>     run_log("meson compile -C $pgsql install-test-files");
>
>
> Is that right? I did that but it didn't work :-(

I think you shouldn't set DESTDIR to the $installdir. If DESTDIR is
set, it joins $DESTDIR and $install_dir(-Dprefix). So, when you run

local $ENV{DESTDIR} = $installdir;
run_log("meson compile -C $pgsql install-test-files");

it installs these files to the '$install_dir/$install_dir'.

Could you try only running 'run_log("meson compile -C $pgsql
install-test-files");' without setting DESTDIR, this could work.

Regards,
Nazir Bilal Yavuz
Microsoft



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

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: Allow tailoring of ICU locales with custom rules
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: buildfarm + meson