From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IPf2N0fn/mBtIgEAgWs5BA (envelope-from ) for ; Mon, 26 Jul 2021 18:48:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QOaMM0fn/mC/CQAAB5/wlQ (envelope-from ) for ; Mon, 26 Jul 2021 16:48:07 +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 257251B719 for ; Mon, 26 Jul 2021 18:48:07 +0200 (CEST) Received: from localhost ([::1]:33886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m83lu-0002La-5K for larch@yhetil.org; Mon, 26 Jul 2021 12:48:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m83lq-0002LS-HA for guix-patches@gnu.org; Mon, 26 Jul 2021 12:48:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m83lq-0006Gl-9M for guix-patches@gnu.org; Mon, 26 Jul 2021 12:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m83lq-0008Qm-6v for guix-patches@gnu.org; Mon, 26 Jul 2021 12:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49569] [PATCH] gnu: Add make-single-arch-llvm procedure. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 26 Jul 2021 16:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49569 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Efraim Flashner Cc: 49569@debbugs.gnu.org Received: via spool by 49569-submit@debbugs.gnu.org id=B49569.162731804732349 (code B ref 49569); Mon, 26 Jul 2021 16:48:02 +0000 Received: (at 49569) by debbugs.gnu.org; 26 Jul 2021 16:47:27 +0000 Received: from localhost ([127.0.0.1]:51380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m83lH-0008Ph-4q for submit@debbugs.gnu.org; Mon, 26 Jul 2021 12:47:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m83lC-0008PR-Dz for 49569@debbugs.gnu.org; Mon, 26 Jul 2021 12:47:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47748) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m83l6-0005lj-Lx; Mon, 26 Jul 2021 12:47:16 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=45306 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m83l6-0006WA-EG; Mon, 26 Jul 2021 12:47:16 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <77ec80a001bb04229289f1e3efff7633c94c71dc.1626343320.git.efraim@flashner.co.il> Date: Mon, 26 Jul 2021 18:47:14 +0200 In-Reply-To: <77ec80a001bb04229289f1e3efff7633c94c71dc.1626343320.git.efraim@flashner.co.il> (Efraim Flashner's message of "Thu, 15 Jul 2021 13:04:52 +0300") Message-ID: <87a6m981kd.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627318087; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=F6Yiz7MHuXAhJDSroByLmdeJoKIZbqDAHq/fUrb026Q=; b=PM5iNSrC9jPjj6P8x8K6bCKkjtaPLXADJii1UOztFY0rjF5L6VQyygegSlQKrfs4dEmFfX TI1BpmB+CR49/BE2bExRR4vw5Ryb/F5TjmT6F2LrDwoxDc3g7sSpFCN7wGioXKS0oiZqoP jyTDua6rPCRTpo2P23/AODpU46lYzLgmHngRPDu9kB2Oe3P+6WLGOfC4dkpKEgaw97DnP/ QwIzcfPN3WoHsXS9+cUjvxsLa/k7+dsRmuph/WXPYYHDOQMl26lWvXNMedYRKnFkaSI5k5 tA2NztZkPhJ6VUuS8wii4kKnCgVtx+jubtELwb+r0kb88NqFK4Wm17WSt6oUMA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627318087; a=rsa-sha256; cv=none; b=HZPSiQh9INuI259Mor17pYrEKQvAlyPiNQBYCiCNc+jAGkwUEhoYTk9ejivktmOJdnNDaa vSz0GIlkrpqtXn2GhhmMLU24ZqJ92HL6g8uhplbswcZ+AqHlp6NOYql/MlI4m/PXiwAwA3 m4JVzxKelqbeEvzpSa3Eaa4YZBKtKwEmapJrJziN4+CjpbyYBFak6+UJLle6Y4qe7euCDY DXP31iufrxb3pOCd8S3WX2ep6FnSNj/oPcpcmIVfZm1YMwLB32fOp0X25a7TzYeHDssQj1 034eH1gCwbOPEfaS61X3CUUha1vatybt1ohh7vTJLtJY1+gYLdClOlN0+7pktw== 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-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 257251B719 X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: uKubGUl7jCJJ Hi, Efraim Flashner skribis: > * gnu/packages/llvm.scm (make-single-arch-llvm): New procedure. > (llvm-native-12, llvm-native): New variables. > --- > > Using this copy of llvm for packages like mesa will reduce the closure > of those packages. I don't suppose it would work as well for compilers > like rust which use LLVM for compiling and targeting different > architectures. > > This drops the size of llvm-12 from 167M to 111M. That=E2=80=99s less impressive than I would have thought. For Mesa perhaps we could maybe have a variant that=E2=80=99s even more stripped? The downside of this is that we risk having several LLVM copies on typical installations. Thoughts? Thanks, Ludo=E2=80=99.