Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVMws-0006OC-DK for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Aug 2015 16:56:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZVMwr-0006FK-W3 for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Aug 2015 16:56:18 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZVMwq-0006Dk-Dz for pgsql-hackers@postgresql.org; Fri, 28 Aug 2015 16:56:16 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZVMwo-00085c-2m for pgsql-hackers@postgresql.org; Fri, 28 Aug 2015 16:56:15 +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 t7SGu24B024768; Fri, 28 Aug 2015 12:56:02 -0400 From: Tom Lane To: Alvaro Herrera cc: Andres Freund , YUriy Zhuravlev , pgsql-hackers@postgresql.org Subject: Re: WIP: About CMake v2 In-reply-to: <20150828162849.GE2912@alvherre.pgsql> References: <4184974.kkvGJ5GoEX@dinodell> <20150828153245.GD2912@alvherre.pgsql> <20150828153926.GG4857@alap3.anarazel.de> <20150828162849.GE2912@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Fri, 28 Aug 2015 13:28:49 -0300" Date: Fri, 28 Aug 2015 12:56:02 -0400 Message-ID: <24767.1440780962@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) 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 Alvaro Herrera writes: > I wonder about two other things: one is speed of the build (not that > currently it's all that great, given all the mess with recursive make > invocations, but perhaps it can be even worse); the other is how ugly > the generated files are going to be, and are we going to carry them in > our repo -- right now we only have configure, but are we going to keep > extra files to cope with builds in systems that don't have cmake > installed (as we cope with missing bison and flex)? As near as I can tell, the generated files are platform-specific. (They're certainly different for Unix and Windows; the overview I'm looking at doesn't say in so many words whether they can vary at a finer grain, but I bet they do.) So I'm afraid cmake would likely become a build requirement, even for tarball users. That is probably not a show-stopper, but it's a point against the idea. I have no idea whether switching to cmake would be a good thing or not. It's possible that it'd end up being even uglier than our current autoconf+gmake+msvc-scripts mess ... although when phrased that way, that sounds like a pretty low bar to clear. Anyway, if YUriy is willing to do the preliminary investigation, let's see what he comes up with. 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