Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116706 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 64760 invoked from network); 21 Dec 2021 17:22:49 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 21 Dec 2021 17:22:49 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 16E5E1804AA for ; Tue, 21 Dec 2021 10:26:34 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS31103 84.19.160.0/19 X-Spam-Virus: No X-Envelope-From: Received: from mail.toneristzuen.de (mail.toneristzuen.de [84.19.169.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 21 Dec 2021 10:26:33 -0800 (PST) Received: from maniacmansion (aftr-62-216-207-106.dynamic.mnet-online.de [62.216.207.106]) by mail.toneristzuen.de (Postfix) with ESMTPSA id 8A1A244D1C; Tue, 21 Dec 2021 19:26:29 +0100 (CET) Message-ID: <30a1da97a3b5689fd4f801f3bf08ae351e2cc4d9.camel@schlueters.de> To: Nikita Popov , =?ISO-8859-1?Q?Horv=E1th?= "V." Cc: PHP internals Date: Tue, 21 Dec 2021 19:26:25 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Surveying interest regarding CMake From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Thu, 2021-12-16 at 20:15 +0100, Nikita Popov wrote: > My main question would be how this will affect 3rd party extensions, > which are currently using autoconf. Will they need to migrate to > cmake, or will we have to effectively maintain both build systems? We would have to keep our autoconf macros for phpize aroudn for a while. Interoperability for out-of-tree-builds shouldn't be a problem as long as a php-config script/tool is generated. For building in PHP's tree (as static extension) the external vendors would have to provide CMake files. For building out of tree with CMake we should be able to produce the FindPHP CMake macros. Also the "pecl" tool (or a replacement) would need adaption. But yes, we will need a bit of a grace period for everybody to adapt. While I assume most will be happy to make the switch. johannes