Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ccH6l-0000pb-At for pgsql-hackers@arkaria.postgresql.org; Fri, 10 Feb 2017 19:43:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ccH6k-0006W9-HA for pgsql-hackers@arkaria.postgresql.org; Fri, 10 Feb 2017 19:43:50 +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_2) (envelope-from ) id 1ccH5K-0004u1-Ci for pgsql-hackers@postgresql.org; Fri, 10 Feb 2017 19:42:22 +0000 Received: from mail-qk0-x22f.google.com ([2607:f8b0:400d:c09::22f]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1ccH5H-00032l-OZ for pgsql-hackers@postgresql.org; Fri, 10 Feb 2017 19:42:21 +0000 Received: by mail-qk0-x22f.google.com with SMTP id s140so50474964qke.0 for ; Fri, 10 Feb 2017 11:42:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:references:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=fgwJq9AubB1A9h17U2Hgr7msRj4jDWVVVqstZLmkDaw=; b=BTqjqCiZVkFCeOQaUoa+BV5sVv4uVcxMF1z3KbZChdJql3BbWUrdcBrbfmX448E5bA VzOK+5vmpxOagxMxu9DRYx+qeDoH7+MjOEwlvEwuPgp/3RqrZrCx/FOaaIEy/3bDQnFF +qTrkHZPkEd6MjMNAR2CnhDdW97/XKrEl5+aV34bCgeQ3Ahocn2rkC5t0S2WDfYVmCSr Gp0oU4+vxDG8wS7rNSbEn6/C8uhD25xdCyKY/yPIHe/O2y7eMK6p4Qqkj6kpeGAK2JV0 EiPZfwBg4giX3QYrUCFElvfSSGv5J/RQDDyZYulCiEruV/EfqRzYyhRdMZMcj4GvIjjh UV8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=fgwJq9AubB1A9h17U2Hgr7msRj4jDWVVVqstZLmkDaw=; b=lzyBn1aFr7N6fQkJgIsgLadzZl+xEyD9QijLevFJBPFbcBCw4OsSDrLQlEM7yRmYA2 iakMhdkd2SREKYp+Z24C1OvVrORhP6lwNf4DGs/yCJJB7n6KCaPAmH2Q28MU/eAt+gFZ T0Uw65inq7CzoDZ5HWrghzIlVy+bOPMY9JwamRhVDhnRJtm3oa/80avr7l9tGo/pvbVC MwMJcuJhKX4f+am8DCwuW5HuteDCHBdc8/zJ32iinC3NeihS1BmC8q3+mlGT1M3t8ngn xPOcjM6TpomMLxYnKUrwhr5iuZ1FFlx1T310NlRLFd7XwPXpN8C1GlPj2dIFmUPpR+Ty AmKQ== X-Gm-Message-State: AMke39nGdPSYABuamOLiKGjQ6q88TKqhbY1nkGkJw4Jstt99jSbHf8eV8JfqCadTquw08a1mHY6/TqTq3/XU5K5GrUTCvcJ0DIsHSujCsDhy3TPuDP9MgDF88z+KADPPoooJocad6ddhKMMoEJg8P0XT8AdsmnmRLHyytt0Udiq+4NuupdfVg6KrRw9jbTxBtZogbWLdoHOSbBo= X-Received: by 10.55.39.193 with SMTP id n184mr10064070qkn.315.1486755737650; Fri, 10 Feb 2017 11:42:17 -0800 (PST) Received: from [192.168.10.146] ([98.122.164.227]) by smtp.gmail.com with ESMTPSA id j1sm517888qkf.57.2017.02.10.11.42.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Feb 2017 11:42:17 -0800 (PST) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: WIP: About CMake v2 To: Magnus Hagander , Robert Haas References: <22f10946-860e-031e-4440-5aaf67c938a4@2ndquadrant.com> <20170124065848.yawgnrpqihvahj5u@alap3.anarazel.de> <13434.1485265067@sss.pgh.pa.us> <20170127231120.lb2hrc34bcc7fkui@alap3.anarazel.de> <20170130062855.ignlffierohvm4f7@alap3.anarazel.de> Cc: Peter Eisentraut , Andres Freund , Tom Lane , Craig Ringer , Yuriy Zhuravlev , Michael Paquier , PostgreSQL mailing lists Message-ID: Date: Fri, 10 Feb 2017 14:42:16 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 On 02/10/2017 01:27 PM, Magnus Hagander wrote: > On Fri, Feb 10, 2017 at 6:07 PM, Robert Haas > wrote: > > On Mon, Jan 30, 2017 at 10:26 AM, Peter Eisentraut > > wrote: > > On 1/30/17 1:28 AM, Andres Freund wrote: > >> Given that fact, I just don't buy why it's a good idea to not also > >> replace autoconf initially. > > > > Well, I find it a bit scary. If you do the big switch all at > once, then > > you will have to dedicate the following 3 months to fixing > complaints > > from developers and build farmers. > > I agree with that. I think replacing the Windows build system first > and then the non-Windows build system later is a better plan than > replacing both at the same time. > > But also, I'm not really sure whether this conversion makes sense. I > mean, any build system is going to require some work, and accordingly > our present build systems require some work. cmake will require > different work, but not necessarily less. The current system has a > long history; we pretty much know it works. Switching will inevitably > break some things. Maybe we'll end up better off in the long term, > but maybe we won't. Things are pretty good now, so it seems like it > would be easy for them to get worse rather than better. If nothing > else, everybody who has to learn the new system either to use it for > development or because they are doing packaging will have to do some > amount of extra work as a result of any switch. > > > For me a killer feature would be if/when we can get to a point where > we can have something pgxs-style on cmake that also works on windows. > > Our homemade Windows build system works OK for postgres, and while > ugly it is as you say well tested by now. But it doesn't do *anything* > to help people build extensions on Windows. > > Watch this space. There is work being done on building extensions out of tree using CMake on Windows. It's pretty neat, and I'm hoping to demo it publicly soon. But it's not reliant on CMake in core. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers