Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZWnmh-0003Xk-D6 for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Sep 2015 15:47:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZWnmg-0002O2-JW for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Sep 2015 15:47:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZWnlN-0000v1-Uf for pgsql-hackers@postgresql.org; Tue, 01 Sep 2015 15:46:22 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZWnlK-0007iM-NK for pgsql-hackers@postgresql.org; Tue, 01 Sep 2015 15:46:21 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t81Fk5Dp010684; Tue, 1 Sep 2015 11:46:06 -0400 From: Tom Lane To: Andres Freund cc: Noah Misch , Alvaro Herrera , YUriy Zhuravlev , pgsql-hackers@postgresql.org Subject: Re: WIP: About CMake v2 In-reply-to: <20150901143754.GI31526@awork2.anarazel.de> References: <4184974.kkvGJ5GoEX@dinodell> <20150828153245.GD2912@alvherre.pgsql> <20150828153926.GG4857@alap3.anarazel.de> <20150828162849.GE2912@alvherre.pgsql> <20150901043331.GA2904638@tornado.leadboat.com> <24796.1441082995@sss.pgh.pa.us> <20150901143239.GC2904258@tornado.leadboat.com> <20150901143754.GI31526@awork2.anarazel.de> Comments: In-reply-to Andres Freund message dated "Tue, 01 Sep 2015 16:37:54 +0200" Date: Tue, 01 Sep 2015 11:46:05 -0400 Message-ID: <10683.1441122365@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Andres Freund writes: > On 2015-09-01 10:32:39 -0400, Noah Misch wrote: >> A monolithic patch replacing the GNU make build system with a CMake build >> system sounds far too hard to write and review; we should expect to maintain >> those two build systems in parallel for awhile. > I don't buy this. Me either. I think the odds would be better than 50-50 that we'd never get past that stage, and we'd be left with a situation where we've still got two build systems, only one of them is cmake not hand-rolled perl. Now, maybe that's still an improvement over what we've got, but the argument is significantly harder to make. We'd have bought into all of cmake's disadvantages (whatever they prove to be) but we'd be missing the main claimed advantage. Also, while src/tools/msvc certainly has got limitations, it does get a fair amount of its info out of the Makefiles; having to change it when you add a file or whatever is the exception not the rule. A separate cmake build system would certainly require maintenance *every* time we touch the Makefiles. I would actually suggest that the cmake conversion would be better off to ignore src/tools/msvc altogether to begin with. Build something that can handle, say, the Linux build, and then stop and evaluate. If that looks good then start extending to other platforms. If cmake is as nifty as some folks claim, you might already have an 80%-working Windows build at that point. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers