Opened 2 years ago

Closed 2 months ago

#5281 closed defect (fixed)

Start preparing for PostgreSQL move to meson

Reported by: robe Owned by: strk
Priority: medium Milestone: PostGIS 3.5.0
Component: build Version: master
Keywords: Cc:

Description

I suspect we don't need to worry about this for another 2 years.

https://wiki.postgresql.org/wiki/Meson

But once autoconf/automake is gone, I think PGXS will be too. So might be worth experimenting with this and thinking about all the places we rely on PGXS.

Change History (4)

comment:1 by robe, 2 years ago

FWIW I'm having trouble building PostgreSQL with meson under mingw64, gives some cryptic load error. I noticed the wiki doesn't even talk about using mingw, so maybe they assume all windows users are using VS yuck or it's the same instruction as Linux, which essentially it is.

Anyway once I have my meson build issues sorted out, I'll confirm a meson build of PostgreSQL can work with our PostGIS setup. If it does, what kind of changes we'd need to move to the meson direction.

comment:2 by robe, 22 months ago

I can build postgresql with meson on my new mingw/msys2 setup. So okay here

comment:3 by robe, 5 months ago

Milestone: PostGIS Fund MePostGIS 3.5.0

comment:4 by robe, 2 months ago

Resolution: fixed
Status: newclosed

I'm thinking this is good enough for now. Debbie is now building with meson. My gcc 13 is also building with meson, but running into regression issues. Probably more to say about mingw than meson.

Note: See TracTickets for help on using tickets.