From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wEl+MWTKxmMHOAEAbAwnHQ (envelope-from ) for ; Tue, 17 Jan 2023 17:18:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ONhjMWTKxmMJEQEA9RJhRA (envelope-from ) for ; Tue, 17 Jan 2023 17:18:44 +0100 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 9210728F61 for ; Tue, 17 Jan 2023 17:18:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHofQ-00059v-KT; Tue, 17 Jan 2023 11:18:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHofE-0004xo-Jm for guix-devel@gnu.org; Tue, 17 Jan 2023 11:18:24 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHofC-0004c8-U8 for guix-devel@gnu.org; Tue, 17 Jan 2023 11:18:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=wTFxl4ZoEZu9W49tLVjBOnkr4Ek4m0nvCJSHTKCH7yY=; b=mx6v3+OAhJLBn9mba99A VgARD0BnGwh4JCwjVDvrkFd2tlwfsa9AUDxt0Imlg1t/qWzwbZ0IGzY3qAdt+qM6oDAnQUQGs7nes BwpopS5rXrK7aWSp9rVOrrs35IoPhZAbqI7WpvDrZIUJ4jXeqHTKKoOuKT5XqbLmbp6gLW5zVHvuI FJigD//H3Q/yRyzGb93QVg0/B47h5Y6nYHuoP9/LxaoWPCeW2kpxQ/Zrwj9mhzWxq34ET/WvHaoEa XIt+OQF06ckUSz0PxcR66Ka+fvjp7x0SfCkXbTft4Dmx6ixpAwBf+AJ8TbH2N6ufnY85Wu6jOHYzC eI8omEPMGU4Fcg==; Received: from [193.50.110.246] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHofB-0002V1-RH for guix-devel@gnu.org; Tue, 17 Jan 2023 11:18:18 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: guix-devel@gnu.org Subject: Re: Packages grow, no longer fit on a =?utf-8?Q?=F0=9F=92=BE?= References: <87tu0s7otg.fsf@inria.fr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Octidi 28 =?utf-8?Q?Niv=C3=B4se?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Zinc 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, 17 Jan 2023 17:18:16 +0100 In-Reply-To: (Efraim Flashner's message of "Tue, 17 Jan 2023 10:06:50 +0200") Message-ID: <87ilh5dtiv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (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.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673972324; a=rsa-sha256; cv=none; b=aEa5md/CiQmQr2kOUj0op1M9HBYocVACK2jlKTpRHIATTWjFDn02g5PNhMHIoCgciqYcFb rgRMw4xeOaGZ6T1KETyGo4g1IBglsZ1+3+QGXS+kHqxGsu/WfblWUlRTHu5og5XQdJBZqB 4gv7RRQ9xVmbuXQ7j3SZsqhS/0U43Ypa+BmUKLwBzSfBC8wGxLbYiOfiezKP1bnZ7kswnT e7K9KMeB5kgjFal9nNACC8xa88cG3Gg1s6/nxvzV/kNsTAZyydNxUK+VKHhwxaJUEbMKb7 J+RWnLCA2Xoj++kPiUSAqQGsJZ0edduvhUmcD6W2w33or4PtTe4TZXzD03co9g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=mx6v3+OA; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673972324; 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:dkim-signature; bh=wTFxl4ZoEZu9W49tLVjBOnkr4Ek4m0nvCJSHTKCH7yY=; b=mvroZoJ7WeqOIplsedsgYwZm80QT5g+/tSYMoNwyPXAKFusrDe0HzvSZseuK4+dF6KNl3m 4MKUh5oNorZQx8TT/yW7ubHMwbO+EGhRsRq5QqWOi4h+t+5++kuKltc46WwblA+0PfrGsK 7pkaCeqCxJj2eABKHjK1B80cHSIPN0AnxqKZ6PYSEYYBZ9g8XcmnOgbuhkwMf0a/iv91AP AOqURm9Y+7Yt6SFYUycbH1Q3rmgnjlXlwreFFvRTq0x7cyss43eOVbKk7IX7efI9UM6Ycm O4J1PeOuRRAYHt+qjEQilEEaZEup2z7SwKlzDTNCXpWqlEtIVpBmoHUiHKPYnQ== X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -9.69 X-Spam-Score: -9.69 X-Migadu-Queue-Id: 9210728F61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=mx6v3+OA; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-TUID: 2fbEABFkAFWV Hi, Efraim Flashner skribis: > I've made some progress on LLVM and I think I have a working LLVM that > can be used as an input for mesa. > > (ins)efraim@3900XT ~$ du -sch /gnu/store/36kmnxmb1h8pxw0x71wril67fdvjx7ny= -llvm-11.0.0/* > 3.9M /gnu/store/36kmnxmb1h8pxw0x71wril67fdvjx7ny-llvm-11.0.0/bin > 8.0K /gnu/store/36kmnxmb1h8pxw0x71wril67fdvjx7ny-llvm-11.0.0/etc > 21M /gnu/store/36kmnxmb1h8pxw0x71wril67fdvjx7ny-llvm-11.0.0/include > 67M /gnu/store/36kmnxmb1h8pxw0x71wril67fdvjx7ny-llvm-11.0.0/lib > 16K /gnu/store/36kmnxmb1h8pxw0x71wril67fdvjx7ny-llvm-11.0.0/share > 92M total > > (define llvm-for-mesa > (package/inherit llvm-11 Yay, great news! Let=E2=80=99s have that in =E2=80=98core-updates=E2=80=99. > In addition to what I have below I found that nix has a patch to make > llvm-11 (and the others) use the GNUInstallDirs, so we'd be able to move > the include directory to another output, saving another 21MB, bringing > llvm-for-mesa down to 71MB. Another possibility would be to have > llvm-for-mesa use llvm as an input, and then to use some configure-flags > to tell llvm-for-mesa to use the includes from llvm (the input). Good. We can make these changes incrementally, but having =E2=80=98llvm-for-mesa=E2=80=99 would already be a noticeable improvement. Thanks! Ludo=E2=80=99.