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 cG/wG2/vWWCsagAA0tVLHw (envelope-from ) for ; Tue, 23 Mar 2021 13:38:55 +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 ICDLF2/vWWC8fAAA1q6Kng (envelope-from ) for ; Tue, 23 Mar 2021 13:38:55 +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 00D3123ECA for ; Tue, 23 Mar 2021 14:38:55 +0100 (CET) Received: from localhost ([::1]:52708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOhFG-0001oi-6O for larch@yhetil.org; Tue, 23 Mar 2021 09:38:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOhF7-0001oO-SV for guix-devel@gnu.org; Tue, 23 Mar 2021 09:38:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55189) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOhF7-0004jL-Lb for guix-devel@gnu.org; Tue, 23 Mar 2021 09:38:45 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54666 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lOhF7-0007mN-1O for guix-devel@gnu.org; Tue, 23 Mar 2021 09:38:45 -0400 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> <87eegn4658.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 3 Germinal an 229 de la =?utf-8?Q?R=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: Tue, 23 Mar 2021 14:38:43 +0100 In-Reply-To: <87eegn4658.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed, 10 Mar 2021 12:09:23 +0100") Message-ID: <87wntyhtwc.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=1616506735; 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=HoD7ZRwhoiszfSbPx4Rnb3fNyPQQIGU9M0d6YuT0twM=; b=pXvVshy/3xK/qnizdzTOLxVM3h9ArKSl+nD1DEYcDMhYdaUiytAjErQjehGpgUBhg5fmkr JlxKk/iojg1ZjCG/d+J1SjOGEc4wSg/3vRpR0C1dLgakAxqvCgmU7+BLH7VfChoEe/uM0b FMgjR/zXTs4P1auCm3VJ7UAPgrFD7bX3mLNRxTBA9COh55nW+93ZjoKLl65pdKR+VIQCRY 3V+fOI3hSYQIsf6ZR3ybfjsu0HToBgiSKWQy1oECw0WLfnoJlZcRCGcNlWfZZJ9gbvjxez OJKLORgsNLazMIfY8eFSgj9ZEndDd4S5kHrowtOAv3eWbiRmAhdsIKrcWdydCQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616506735; a=rsa-sha256; cv=none; b=d7h3RjvVo43itbQVifzl8IAYXGqE63d6ZdrBdbY+z/0diInIIIRsrnU5QDwqseclQTeRp/ 403K5TngOh6aVySabNNnsXyxnlWmcQACFJ7mRc4c8RmbOIn82i/UUhNOinOEcNUTMOmELb O4ZqD4ram4hFGy8qnc1Ey7i4W/TiBXv91StidA6fsl8YGn8X2lcSMBqGyBTdZJBPZNFP6N 6R7EahusKUtOuDLh0M+wc5d+z8DgkHZ3ytRwoKj88G3Iih1deWE6ZqLP999fh4Yf/jK9ra HEA/dPbR7JVtxr6uX06+A4Yy+BKh63ETTR72h1d46FpE92eZAi65Euwqoc3zNA== ARC-Authentication-Results: i=1; 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-Spam-Score: -1.92 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: 00D3123ECA X-Spam-Score: -1.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: v/3eVAU1SRv2 Hello! Ludovic Court=C3=A8s skribis: > 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 bring= s 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= =99s quite a ride! > > The current tip of =E2=80=98wip-build-systems-gexp=E2=80=99 Just Works; i= t=E2=80=99s being built, > it can build =E2=80=98guix=E2=80=99 and cross-build things like =E2=80=98= sed=E2=80=99: > > https://data.guix-patches.cbaines.net/repository/2/branch/wip-build-sys= tems-gexp > > https://ci.guix.gnu.org/jobset/wip-build-systems-gexp (though Cuirass > currently has unrelated problems) It=E2=80=99s building and well! > In terms of performance, there=E2=80=99s still a ~10% slowdown when compu= ting > derivations compared to the =E2=80=98core-updates=E2=80=99 revision the b= ranch is based > on. I made some improvements yesterday (reducing object cache lookups and the number of entries therein), but we=E2=80=99re still in the 10% ballpark. WIP branch: --8<---------------cut here---------------start------------->8--- $ git log |head -5 commit 082df93be3472e0f38970634260af8c432420b35 Author: Ludovic Court=C3=A8s Date: Mon Mar 8 13:59:23 2021 +0100 gnu: docbook-xsl: Move 'use-modules' form to the top level. $ time GUIX_PROFILING=3Dgc ./pre-inst-env guix build libreoffice --no-graft= s -d /gnu/store/fsrbbi8vfrwwdz2dlyzpfvvnky03nczz-libreoffice-6.4.7.2.drv Garbage collection statistics: heap size: 87.18 MiB allocated: 254.25 MiB GC times: 16 time spent in GC: 0.74 seconds (31% of user time) real 0m2.225s user 0m2.415s sys 0m0.087s --8<---------------cut here---------------end--------------->8--- Compared to =E2=80=98core-updates=E2=80=99: --8<---------------cut here---------------start------------->8--- $ git log |head -5 commit b35581bd63d929e83d18f42b067f63efc867353c Author: Efraim Flashner Date: Sun Mar 21 09:42:06 2021 +0200 gnu: openjpeg: Update to 2.4.0. $ time GUIX_PROFILING=3Dgc ./pre-inst-env guix build libreoffice --no-graft= s -d /gnu/store/irdhm6jx30bgdxvgb0an1mn223rzshkg-libreoffice-6.4.7.2.drv Garbage collection statistics: heap size: 79.18 MiB allocated: 216.51 MiB GC times: 16 time spent in GC: 0.74 seconds (33% of user time) real 0m2.094s user 0m2.277s sys 0m0.106s --8<---------------cut here---------------end--------------->8--- > Here=E2=80=99s what I=E2=80=99d like to do in the coming days, if that do= esn=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 adjust= ing > build systems; > > =E2=80=A2 Merge on =E2=80=98core-updates=E2=80=99. I=E2=80=99ll go ahead with that if there are no objections. > 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 obj= ects 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 = packages and > just calls =E2=80=98getenv=E2=80=99 to get the value of its various param= eters, similar > to what (guix git-download) does. I=E2=80=99m also starting work in this area. Ludo=E2=80=99.