From: | Nathan Bossart <nathandbossart(at)gmail(dot)com> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de> |
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 |
Date: | 2022-09-22 20:05:33 |
Message-ID: | 20220922200533.GA697326@nathanxps13 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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 [0]
and using the newest tag. This is no big deal.
* 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.
* 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
maintainer-clean'.
Otherwise, all of my usual build options, ccache, etc. are working just
like before. Nice work!
[0] https://github.com/mesonbuild/meson
--
Nathan Bossart
Amazon Web Services: https://aws.amazon.com
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2022-09-22 20:21:28 | Re: [RFC] building postgres with meson - v13 |
Previous Message | Simon Riggs | 2022-09-22 20:04:35 | Re: Pruning never visible changes |