Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116658 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 7993 invoked from network); 16 Dec 2021 18:07:35 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 16 Dec 2021 18:07:35 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 87335180541 for ; Thu, 16 Dec 2021 11:10:05 -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=-0.2 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-io1-f48.google.com (mail-io1-f48.google.com [209.85.166.48]) (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 ; Thu, 16 Dec 2021 11:10:02 -0800 (PST) Received: by mail-io1-f48.google.com with SMTP id z18so36582314iof.5 for ; Thu, 16 Dec 2021 11:10:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=k8aSXsyVE424WMknMa//VQ9BXRn/r7enhQ+/1g1u7/I=; b=JkvtOYrzvaECQxxTCmxyH4YdGVSyARunD4AdPKBGO0AAzywQlDtAPlgBvMIKBzIVGG xhPhvA9RfV5sMTiyl8/UfbmH2p8xCPgUiBHYnBbW1DtuE/4Ojy3elXHA4ZXDbHLltsK4 ll1dFb7W1i3BuMpLRMAL0vE61EQ5k+xiZ2pxqBbd/gVwL1ueSGQ8Gr3l0CKKWqIZCBz/ DzZSw6UJDySF+T+miCpjEQexTDvPDLVib3M9t6HcGnWcpYo+57XXmsS6G0/8yhjz09nl nitnzTdfSR+Y7ZmQaC4QCI7mj0G6D059WVr1cuAHF1Vhu/lbf05qoC1ZD20EvDDhGiSu XZSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=k8aSXsyVE424WMknMa//VQ9BXRn/r7enhQ+/1g1u7/I=; b=GqE6HN5AbKkIyNTbKen6REU7/HgOupO0f8ewupcI+RLNUsPAIRLxG8n14SMGkFAEk5 mvYFZoEAs6cgb0tdY/gm/NAuzxe5Jxbmxpak6bI4ieIozKhx5KojE+s2tUW629i/0BJl WyT/fNXzBkYmDcQgOu4nNIMK+XcqQ5iYcYsMdNh/z6r2Pm1aR4y36ZHnbx2GzFhqLGou LeX/EDkqjhaqnQfYZ6s50Ko63S44D979leWnxDLV5HdK1I+eW9QkQvEP4FzpcM5iBiQO 1FTsQn39Mv3cJhvFBItWQEquhkVU18eULInSs8+sOpeTlOcpFiMekV73Ngn2tHRakf/e WRKA== X-Gm-Message-State: AOAM530CwzajNDrWJ9xh3LXc4iBVHoZr1V5j+X1Rk1jekuOf1jw+UMfi JnHnXH4THQ+CULGgRzXTYtPyrbZBupIEdgml/pqPpfpLNa8= X-Google-Smtp-Source: ABdhPJw0LCw2SYoU19faZd6kc0LBJppBP2mLeSjSkTFfcLo6pJqmEFbJvsMyrwiWC3BqH+tLEmlG6fdE83e/tHlnE3U= X-Received: by 2002:a05:6638:2487:: with SMTP id x7mr11231984jat.94.1639681801276; Thu, 16 Dec 2021 11:10:01 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 16 Dec 2021 20:09:50 +0100 Message-ID: To: =?UTF-8?B?SG9ydsOhdGggVi4=?= Cc: PHP internals Content-Type: multipart/alternative; boundary="0000000000004f4fc105d3482be3" Subject: Re: [PHP-DEV] Surveying interest regarding CMake From: paresy@gmail.com (Michael Maroszek) --0000000000004f4fc105d3482be3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Horv=C3=A1th, just wanted to give my +1 on this one. For our use-case (PHP Embed, ZTS, Static Build) this would greatly simplify our build-system which is already using CMake in a lot of parts. Unfortunately I am not a CMake expert, but could offer help in testing and feedback. Regards, Michael Am Do., 16. Dez. 2021 um 18:53 Uhr schrieb Horv=C3=A1th V. < friendlyanon_@hotmail.com>: > Hello internals, > > I'm writing to you to find out what the reception here is regarding the > idea of moving the PHP project to build using CMake. > > I have looked around and I found 2 attempts of doing just that in the > past (in 2008 via GSoC and something else maybe in 2014 that I couldn't > find the exact info for before writing this email), but nothing came of > those attempts. I have also briefly suggested the idea to Sara Golemon > on Reddit and she didn't seem to be completely against the idea. > > For my attempt, I would also optionally use Conan as a means of fetching > dependencies in a cross-platform manner, which would make the need for > OS specific SDKs (like the Windows one) unnecessary. Thanks to CMake's > amazing customizability, using Conan can be made completely optional and > PHP could still continue to build with just system dependencies. > > Moving the build system to use CMake instead of the current split > between a *nix and Windows solution would bring everything to one place > and providing CMake bits in the install interface of PHP would make it > easier to develop and use PHP from a development point of view thanks to > CMake packages. > > I am planning to make a YouTube video of the whole process of me doing > this grunt work, while I explore the current situation regarding > building PHP and explain what I do and why. I think that it'd generally > be a good thing to have such a video for transparency and it could be > interesting educational material for people who are in a similar > situation and wish to move to building their projects using CMake. > > For reference, I occasionally contribute to the CMake project, I'm the > author of https://github.com/friendlyanon/cmake-init which aims to > simplify quickly scaffolding a CMake project that's setup correctly and > I'm in the process of peer reviewing a CMake related book. > > Let me know what you think. > > Regards, > Horv=C3=A1th V. > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php > > --0000000000004f4fc105d3482be3--