From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EKUmC1TWw164VwAA0tVLHw (envelope-from ) for ; Tue, 19 May 2020 12:51:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uIz/BlTWw14YEAAAB5/wlQ (envelope-from ) for ; Tue, 19 May 2020 12:51:32 +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 B650E94036C for ; Tue, 19 May 2020 12:51:30 +0000 (UTC) Received: from localhost ([::1]:36720 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jb1iT-000797-Ng for larch@yhetil.org; Tue, 19 May 2020 08:51:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jb1hm-0006Yl-O7 for help-guix@gnu.org; Tue, 19 May 2020 08:50:46 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:31671) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jb1hl-0008Ko-B2; Tue, 19 May 2020 08:50:46 -0400 X-Originating-IP: 78.199.129.170 Received: from mimimi (moi44-1-78-199-129-170.fbx.proxad.net [78.199.129.170]) (Authenticated sender: mail@ambrevar.xyz) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id B47F324000D; Tue, 19 May 2020 12:50:40 +0000 (UTC) From: Pierre Neidhardt To: Julien Lepiller , help-guix@gnu.org, Marius Bakke Subject: Re: Guix closure size of a system? In-Reply-To: References: <871rngjvjn.fsf@ambrevar.xyz> <87a724s206.fsf@devup.no> <87imgsi6xd.fsf@ambrevar.xyz> Date: Tue, 19 May 2020 14:50:39 +0200 Message-ID: <87wo58gkbk.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.183.193; envelope-from=mail@ambrevar.xyz; helo=relay1-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/19 08:50:42 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mathieu Othacehe Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: 1.89 X-TUID: igQqeQO/Yb5R --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Julien Lepiller writes: >>Moving the llvm libs to a "lib" output could reduce the closure size of >>many packages I believe. >> >>Thoughts? > > Llvm doesn't support that afaik. Does not support what? Arch Linux has a separate llvm-libs package, I suppose we can do something similar. > I've recently found that we have a 30MB static library in mozjs (a gdm de= pendency) that is described as unused by other packages in FS, and they sug= gest to remove it. > > Another easy win is the 30MB gnome-backgrounds which useless on my system= , as I don't use gnome. Not sure why it's in the closure of gdm. > > We could gain 50MB in the closure of many software (but not the system) b= y placing gnutls guile bindings in their own output (for instance, icecat d= epends on ffmpeg which depends on gnutls which in turn depends on guile). T= his might still be useful to reduce the size of separate profiles. > > I'll probably send a some patches in the next few days :) Fantastic, and thankgs for your insights! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl7D1h8ACgkQm9z0l6S7 zH9JfQgAnH4n0wMtPoZveJtIzh1BS8rrr3rfFoJCP/w74uSjQUC6DaC60gTWlz1y IItAiQGdTYnAosvAt6ESB17RiqaK/7h+iLt5KZFt7EFklyBaxHIsdR0XPoBgrrnj NsBQgSukKiMVXfap7ZD+fqvIxcrOLtoMunC6q668sg03koYDqloxglvIqjJGC3jD abjRJEhpPjFH/ePaJ8SJYI7Wfo6nLmDMwWC6eK3HIkR75/5raw12JUp8lixI+cIw +t4KUFzvdFXyzf4DmvfQ9QTV6brIThK1Nq+/eezgznOybArldliMykskEUgms2JO oZPCPJrB3Uw1BPyB9M1MQZ9NO0Duww== =Ac2j -----END PGP SIGNATURE----- --=-=-=--