From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MAs/MDoZx2PX4wAAbAwnHQ (envelope-from ) for ; Tue, 17 Jan 2023 22:55:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oHtFMDoZx2P53gAA9RJhRA (envelope-from ) for ; Tue, 17 Jan 2023 22:55:06 +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 4FF041B608 for ; Tue, 17 Jan 2023 22:55:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHtup-0000xE-Hn; Tue, 17 Jan 2023 16:54:47 -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 1pHtuo-0000x3-2m for guix-devel@gnu.org; Tue, 17 Jan 2023 16:54:46 -0500 Received: from mail-4316.protonmail.ch ([185.70.43.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHtuk-00056M-OY; Tue, 17 Jan 2023 16:54:45 -0500 Date: Tue, 17 Jan 2023 21:54:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1673992477; x=1674251677; bh=3A6Tn45fzQVeaJnB12XvAogmfkISo2xKExFrXACE0tY=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=MQjMEOjulP5K3Ugb8OoNfy/Vf5vxT8S76k/LAmjyM38TAC+XqMC96qDfPfXWzKxFK 29NXhdx9bH1PKwqF4E/Fej9MJcPdeUbs24uI2XudMCCsAO0uJESv04i/J1xWbLf8jU NgZ63YrvSerAAmOFUqH2VHddkAdxyFncGkv8G+AjW6qTtBH2o/zEr4hXTvsJlQsAuv MK5r0fu0gobyNjfizHGgwSTW3XV+5Q6Eder1vJcMgMadvQAalgXhitBBs3EhuMmNYF vqt7xgVf53i0eZHZ9eKywv8EO3wy1t1B/BUO/S3CXyY0XsvztLe0B9cTih55fGgPDa Woki2yUmknQaA== To: =?utf-8?Q?Ludovic_Court=C3=A8s?= From: John Kehayias Cc: Efraim Flashner , guix-devel@gnu.org Subject: =?utf-8?Q?Re:_Packages_grow,_no_longer_fit_on_a_=F0=9F=92=BE?= Message-ID: <87o7qw969a.fsf@protonmail.com> In-Reply-To: <87ilh5dtiv.fsf@gnu.org> References: <87tu0s7otg.fsf@inria.fr> <87ilh5dtiv.fsf@gnu.org> Feedback-ID: 7805494:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.16; envelope-from=john.kehayias@protonmail.com; helo=mail-4316.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673992506; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=3A6Tn45fzQVeaJnB12XvAogmfkISo2xKExFrXACE0tY=; b=XAK2YYo6BC1+cWiTnuS6z3aldfZ63VoqkfrZwdrOLCLhklwsEjySGdHXdbmnQQCuJ/hFjR utY/HWMSz/YXSq34b2Up9toGHfHKqI3BWeEpN00VDk63wE2IYYsYCYail+IFV+fk0v64nO UItGNy3EeHfaWB2BU++7HAyy27/i4rO+8+zBHkeTWmbZnNB2Md5qQ0EX/PNJlZoP1uahPu 4pz++g9BZDp0VnMkicFrs99nbkisN2UmXI8qPGJFrBEcvunDaXtsVt67p1JTnd4SOmqLCY OabHWCYQ1cQz+tnAIq+C79iQLIiFe8TvCQjHgksN9tV9d+B9PghpqUUm8Nc7rA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=MQjMEOju; dmarc=pass (policy=quarantine) header.from=protonmail.com; 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-Seal: i=1; s=key1; d=yhetil.org; t=1673992506; a=rsa-sha256; cv=none; b=C+ePvTxqICXdf5hZ+CnnTwmxah1kOyUK5i5entyffto9cMTqq1ROVlc7e7CUa8AjcnsWnw AcXS47JugS7YrIa4HbFkF3SCXSBnr8MmeHXxgdsUP7WofnkKMA/Yl3Ck13JQ21d8/Pd3Z5 bseILPWLhkLAiOOiEQ+2TSVyta10mjy7o/u4CIFAkPK7knb5rCQPGFBHtdUOjerrgelZO0 wG/HEEZJkXNEkSMm+WEXab4cR2c2IBYdagkJ7lJnIC9Laa25TWXpGTTFJy2NXt+VsP3yJ+ eB7ojsPyVknF1uulbg2+aNFiBQQ/KMEJGlhCqF3+4AcKd1ewLFTDJ8gilMH73w== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.33 X-Spam-Score: -6.33 X-Migadu-Queue-Id: 4FF041B608 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=MQjMEOju; dmarc=pass (policy=quarantine) header.from=protonmail.com; 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: +LFTvnMnjEeQ Hi all, On Tue, Jan 17, 2023 at 05:18 PM, Ludovic Court=C3=A8s wrote: > 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/36kmnxmb1h8pxw0x71wril67fdvjx7n= y-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. > Yes, very nice! A note that after some debugging that latest mesa (22.2.3 as of today, to b= e updated on core-updates) seems to want newer LLVM, namely llvm-15. Fortunately we have= this LLVM version thanks to other's hard work on this front. I don't think there were any errors in building mesa with older LLVM, but o= n current hardware (unfortunately brings in non-free considerations) this was necessa= ry. I believe this is the summary: Props to katco on IRC for going through some long building and debugging to= track this down. The end result is that mesa 22.2.x with llvm-15 gave proper support f= or current gen hardware, both parts (and current kernel) being needed. So, I'd vote for having llvm-for-mesa to be at the latest LLVM version as w= ell as Mesa. As per the discussion on another thread, this could make sense for a feature b= ranch and to get thorough testing. Seeing as how LLVM seems pretty core to what Mesa doe= s these days, I would feel better having that tested across different hardware and use case= s. Again, I think a singular feature branch works well for this and I'm happy to help o= ut on that front. But I'll leave those discussions to the other thread. >> 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. Thanks all, I'm here for smaller closures! John