From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6HvMLvmoSGAWdAAA0tVLHw (envelope-from ) for ; Wed, 10 Mar 2021 11:09:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wLPAKvmoSGDgNAAA1q6Kng (envelope-from ) for ; Wed, 10 Mar 2021 11:09:45 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 28FA419AA0 for ; Wed, 10 Mar 2021 12:09:45 +0100 (CET) Received: from localhost ([::1]:57404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJwim-0004HW-7r for larch@yhetil.org; Wed, 10 Mar 2021 06:09:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJwiT-0004H1-F5 for guix-devel@gnu.org; Wed, 10 Mar 2021 06:09:26 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59331) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJwiT-0007A3-80 for guix-devel@gnu.org; Wed, 10 Mar 2021 06:09:25 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48710 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lJwiS-0003i0-HL for guix-devel@gnu.org; Wed, 10 Mar 2021 06:09:25 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Guix-devel Subject: Re: Will 2021 be the year of build systems on gexps? References: <87im6ojbbx.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 =?utf-8?Q?Vent=C3=B4se?= an 229 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 10 Mar 2021 12:09:23 +0100 In-Reply-To: <87im6ojbbx.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 19 Feb 2021 17:01:38 +0100") Message-ID: <87eegn4658.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615374585; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=MOzaN7rb1K2ccHURcKG1GsnXdXQdYcIDo+HZyBiEBtQ=; b=NgQ2eMozDWKZ8OQe+QcyV6pw6O4Ia4FMY/uL3rZfREYvx4Y4Jq9fxkFfR8PGJxpuBzHzSM F3eoVS7FfI7e01y4YfiYTZdKyUeAmIgEnt0GrHcPTIUFZpljI1akeU9X8fsAbp2EF7yRIO /aA2P9S+FpFNud8qsGouiqzWgItURWz/tlLiRNXk5QOiC9B+XDaZqgHAnjgiSAM5lYlixu ye/oApSJDXpYB/Bad4JpuQP4UZW8VDwiko3cgQ9oBkXr0yGCBLMePMsShEMPpbUGamZ2xX hTcXey7wJ1eVwoGT2jz+bphbS056YSbfy9MOFYBu9UeQF6PyrHYBx8LWKS5Bgw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615374585; a=rsa-sha256; cv=none; b=lLxT5jEZxp0owBTrEafTCpl3UWXv5Cfec50LkbTp4VU0X0IhXLrOrA8la6nVv7Y+Qb50QF 21Y62Ck0dQlRPMTvWqxfJGJIg2Kouwu2JLcXuLDsKuKF+lj+Ulw3vOS1Dk224160P4CFsT DnMsgUyNoyz7C6UlcILhaSNBRTDz1gaTMfpEqUdcuZB0ipciyjF+4VgG3MgC492hlqxa9o 1Ag2RjgPzNI4kgOBcVMsDhT6TSvHuQK6T7iI4elZZrOjD+D+6Vxfxapcql7pHtQvvmQKb4 q8LCODUdgrMmZfl0iHTuvr1ASG14YBOiNXA4eTAOJA2F1MSevngQnO0CkTxhAA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -1.89 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 28FA419AA0 X-Spam-Score: -1.89 X-Migadu-Scanner: scn1.migadu.com X-TUID: JQnBSj88t2aD Hello! Ludovic Court=C3=A8s skribis: > Over the last few days I=E2=80=99ve been head-down working on > =E2=80=98wip-build-systems-gexp=E2=80=99, the mythical branch that brings= gexps to build > systems and packages, so we can say goodbye to > =E2=80=98build-expression->derivation=E2=80=99. And=E2=80=A6 it=E2=80=99= s quite a ride! The current tip of =E2=80=98wip-build-systems-gexp=E2=80=99 Just Works; it= =E2=80=99s being built, it can build =E2=80=98guix=E2=80=99 and cross-build things like =E2=80=98se= d=E2=80=99: https://data.guix-patches.cbaines.net/repository/2/branch/wip-build-syste= ms-gexp https://ci.guix.gnu.org/jobset/wip-build-systems-gexp (though Cuirass currently has unrelated problems) In terms of performance, there=E2=80=99s still a ~10% slowdown when computi= ng derivations compared to the =E2=80=98core-updates=E2=80=99 revision the bra= nch is based on. Here=E2=80=99s what I=E2=80=99d like to do in the coming days, if that does= n=E2=80=99t interfere with what others have in mind for the upcoming release: =E2=80=A2 Monitor build failures due to typos/thinkos made while adjusting build systems; =E2=80=A2 Merge on =E2=80=98core-updates=E2=80=99. Then there are optimizations to work on, but that can take a bit longer. In particular, in =E2=80=98gexp->derivation=E2=80=99, allow file-like objec= ts to be specified as environment variable values. In turn, use that so that, say, =E2=80=98gnu-build-system=E2=80=99 has a single builder for all its pa= ckages and just calls =E2=80=98getenv=E2=80=99 to get the value of its various paramet= ers, similar to what (guix git-download) does. That said, if people think it=E2=80=99s too late in the cycle, we could jus= t as well keep it for the next cycle. Thoughts? Thanks, Ludo=E2=80=99.