Skip site navigation (1) Skip section navigation (2)

About CMake (was Re: [COMMITTERS] pgsql: Append major version number and for libraries soname major)

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Magnus Hagander <magnus(at)hagander(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <bruce(at)momjian(dot)us>
Subject: About CMake (was Re: [COMMITTERS] pgsql: Append major version number and for libraries soname major)
Date: 2008-12-29 11:25:12
Message-ID: 200812291325.13354.peter_e@gmx.net (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
On Sunday 21 December 2008 00:59:27 Alvaro Herrera wrote:
> Andrew Dunstan wrote:
> > We (i.e. probably Magnus and I in the first instance) should think about
> > creating a bit of a cookbook if we're going to persist with this build
> > system.
>
> Well, we were going to try CMake, but we need somebody to do the work.

It did play around with CMake a while back.  It works OK.  I had libpq and 
psql building, for example.  The problem I see is that converting the build 
system will probably take many man-hours, and in the meantime, it would 
essentially create yet another build system to maintain.  Plus, we are not 
sure, of course, whether we will end up adopting CMake.

My preferred approach now is that the existing makefiles need to be refactored 
more aggressively first, using make functions.  We could incidentally design 
those functions similar to the CMake declarations, so a conversion, if we 
decided to do one, would be simple.  But doing that properly would require a 
newer GNU make version, so it needs some consideration first.  (I'm not 
talking about last week's release, but more like 4 years old versus the 10 
years old that we currently require.)

We can revisit this for the next release cycle.

In response to

Responses

pgsql-hackers by date

Next:From: Peter EisentrautDate: 2008-12-29 12:20:34
Subject: Re: incoherent view of serializable transactions
Previous:From: Heikki LinnakangasDate: 2008-12-29 11:02:04
Subject: Re: Synchronous replication, network protocol

pgsql-committers by date

Next:From: Magnus HaganderDate: 2008-12-29 12:49:04
Subject: Re: About CMake (was Re: [COMMITTERS] pgsql: Append major version number and for libraries soname major)
Previous:From: jurijs NezencevsDate: 2008-12-29 03:13:59
Subject: PostGr and MSSQL

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group