|From:||Andres Freund <andres(at)anarazel(dot)de>|
|To:||Nathan Bossart <nathandbossart(at)gmail(dot)com>|
|Cc:||Andrew Dunstan <andrew(at)dunslane(dot)net>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, samay sharma <smilingsamay(at)gmail(dot)com>, Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org|
|Subject:||Re: [RFC] building postgres with meson - v13|
|Views:||Raw Message | Whole Thread | Download mbox | Resend email|
On 2022-09-22 13:05:33 -0700, Nathan Bossart wrote:
> I gave the meson build system a try, and it seems to work nicely. It
> didn't take long at all to adapt my workflow.
> A few notes from my experience:
> * I'm using an Ubuntu-based distribution, and the version of meson that apt
> installed was not new enough for Postgres. I ended up cloning meson 
> and using the newest tag. This is no big deal.
I assume this is 20.04 LTS? If so, we're missing it by one version of meson
currently. There's unfortunately a few features that'd be a bit painful to not
> * The installed binaries were unable to locate libraries like libpq. I
> ended up setting the extra_lib_dirs option to the directory where these
> libraries were installed to fix this. This one is probably worth
> investigating further.
I think that should be "fixed" in a later commit in the meson tree - any
chance you could try that?
> * meson really doesn't like it when there are things leftover from
> configure/make. Whenever I switch from make to meson, I have to run 'make
Yes. I recommend building out-of-tree with autoconf as well.
> Otherwise, all of my usual build options, ccache, etc. are working just
> like before. Nice work!
Thanks for testing,
|Next Message||Tom Lane||2022-09-22 20:57:14||Re: Extending outfuncs support to utility statements|
|Previous Message||Peter Geoghegan||2022-09-22 20:21:28||Re: [RFC] building postgres with meson - v13|