Re: Documentation for building with meson

From: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
To: samay sharma <smilingsamay(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>
Cc: John Naylor <john(dot)naylor(at)enterprisedb(dot)com>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, pgsql-hackers(at)postgresql(dot)org, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Subject: Re: Documentation for building with meson
Date: 2022-11-10 12:46:27
Message-ID: d3852278-7e67-c73b-0a51-4da20c599a22@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)anarazel(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zhang Mingli 2022-11-10 14:06:09 What’s the usage of SO_TYPE_ANALYZE
Previous Message Tomas Vondra 2022-11-10 12:46:26 Re: Crash in BRIN minmax-multi indexes