Re: Documentation for building with meson - Mailing list pgsql-hackers

From Nazir Bilal Yavuz
Subject Re: Documentation for building with meson
Date
Msg-id d3852278-7e67-c73b-0a51-4da20c599a22@gmail.com
Whole thread Raw
In response to Re: Documentation for building with meson  (samay sharma <smilingsamay@gmail.com>)
Responses Re: Documentation for building with meson
List pgsql-hackers

Hi,

I did some tests on windows. I used 'ninja' as a backend.

On 11/8/2022 9:23 PM, samay sharma wrote:
Hi,

On Sat, Nov 5, 2022 at 2:39 PM Andres Freund <andres@anarazel.de> wrote:
Hi,

On 2022-10-30 20:51:59 -0700, samay sharma wrote:
> +# setup and enter build directory (done only first time)
> +meson setup build src --prefix=$PWD/install

This command won't work on windows, I think.


Yes, $PWD isn't recognized on windows, %CD% could be alternative.

> +      <varlistentry>
> +       <term><option>--sysconfdir=<replaceable>DIRECTORY</replaceable></option></term>
> +       <listitem>
> +        <para>
> +         Sets the directory for various configuration files,
> +         <filename><replaceable>PREFIX</replaceable>/etc</filename> by default.
> +        </para>
> +       </listitem>
> +      </varlistentry>

Need to check what windows does here.

It is same on windows: 'PREFIX/etc'.

I also checked other dirs(bindir, sysconfdir, libdir, includedir, datadir, localedir, mandir), default path is correct for all of them.

Regards,
Nazir Bilal Yavuz



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Crash in BRIN minmax-multi indexes
Next
From: Zhang Mingli
Date:
Subject: What’s the usage of SO_TYPE_ANALYZE