Re: buildfarm + meson
Nazir Bilal Yavuz <byavuz81@gmail.com>
From: Nazir Bilal Yavuz <byavuz81@gmail.com>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Andres Freund <andres@anarazel.de>, Peter Eisentraut <peter.eisentraut@enterprisedb.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-03-08T14:40:25Z
Lists: 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
Commits
-
meson: fix header path of ossp-uuid
- 4e633016abe9 16.0 landed
-
meson: Add target for installing test files & improve install_test_files
- 0d237aeebaee 16.0 landed
-
meson: don't require 'touch' binary, make use of 'cp' optional
- 401874ab020b 16.0 landed