Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4866504rwl; Tue, 28 Mar 2023 12:28:30 -0700 (PDT) X-Google-Smtp-Source: AKy350ZwE/cialBgfjpUMXoVaChvDASqWU69+e9QPoZrFT99shx58YLVSluuQ9x+m2ujjGAbH06t X-Received: by 2002:a17:903:41c5:b0:19f:2dff:21a4 with SMTP id u5-20020a17090341c500b0019f2dff21a4mr19081495ple.16.1680031709814; Tue, 28 Mar 2023 12:28:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680031709; cv=none; d=google.com; s=arc-20160816; b=XXfegyxDPIaeNfOIWHpq8s++E2Yfk3M+47hSt7TWG3bjPtjwJw5P7mo3QHOk6qSmDX +eyadykJKjc49NNB5mF+TCqxJe6Xe95SCFnid2GqgSeMoJxmbSnntP2XqDButwW4Zp8M 0w7MJQLx1o90cdkWnQTmkjeg1Tvfd0X5Cib6xj1OiJsqmYXG68aCYeWpKtvD3/7m629f XkI5qAI9oVSIY7+ypLTBaxS9BESvoEmc9tA3qxRoPj2V72eNYF13htWk7DLTcWmiepag AZAlwuEWxr/6i/qfoKGaHXobneLjLzCZCufiWCXEXyGsld3PU3CF7vUYhA+Ai8sITLoZ RbKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:to:from:date:dkim-signature; bh=vHtKFdwPSdvIkH1F86zLKqkKE9zKTn3913gA8QkcNKI=; b=uQZA63jzseDjdXw2FJird44Ycco/YqFMv1V2UAGbNzjQg1shnKylB3ruRyfc5+/M1Y AQkwLPcfyE3ANIl8ipAmjlhcWj5H4/F2uibGF2/xP7etTt57jJXVdSAtwwhJ9BL7EKOp B+O25kL5LGakJOoijGIzq30zCu1SYw1cW4NmjhXS8ArBFZh1nSPALd0fBBpRi+CwdI7G 895bBQmWM9GzjpqKNJObVKukVafKZSYs90tA3E5gU/xb4NLtMw82eQ0CwXbYj0TZlHFj oOh2ybDqv1NihNAalsjNZh5BCCpc7xYACZahMYJpeGXXDn8AmDJ76P5/iwl2o3CYcN+d uYYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bF8B0JBD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lf5-20020a170902fb4500b001945ff85d7asi28285158plb.357.2023.03.28.12.28.16; Tue, 28 Mar 2023 12:28:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bF8B0JBD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229623AbjC1TJL (ORCPT + 99 others); Tue, 28 Mar 2023 15:09:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229536AbjC1TJK (ORCPT ); Tue, 28 Mar 2023 15:09:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEE639D for ; Tue, 28 Mar 2023 12:09:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4372B6191D for ; Tue, 28 Mar 2023 19:09:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8272EC433EF; Tue, 28 Mar 2023 19:09:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680030548; bh=iEymzBzaU4bQVBwE7T/LgoV6sJObq+3Ajj05E4kG0RA=; h=Date:From:To:Subject:References:In-Reply-To:From; b=bF8B0JBDnMFzkv9fIUcE0kR8rLsBHwVf7frqmpVhrSneq8dovcCMUUXiwI1Ow5JHO isWy9/rwI/nHte6qSaLdC86LqKscxJyX46op3Xlit59JZRzsQxK3XIWND9NfSDAVaf WmVht3Odvelj5/fsHDyMos2qDLk2/PPzXOOic+eE94Hgdm5y1sZEQFKRZFK1YHDJvO 94RTD0h6yiOl91X6Js9+fAAJ1zxGs/wg6ijKSOWoYyKPw/Sp9Q51lcBOvGjtYXg12Q WGUWCObNHgt7dWsac+J7Hn284QB8uzgnQ2fuJ/YEuO+zS1lNj5uxyxt+i+yKMBV+QF erdDR75egBz6A== Date: Tue, 28 Mar 2023 12:09:06 -0700 From: Nathan Chancellor To: llvm@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: Slim and optimized LLVM toolchains for building the Linux kernel Message-ID: <20230328190906.GB375033@dev-arch.thelio-3990X> References: <20230319235619.GA18547@dev-arch.thelio-3990X> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230319235619.GA18547@dev-arch.thelio-3990X> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 19, 2023 at 04:56:21PM -0700, Nathan Chancellor wrote: > Hi everyone, > > To make building the Linux kernel with clang/LLVM easier and more > accessible to people (since distributions tend to only package one > version at a time and it may be old or have bugs that have since been > fixed), I have uploaded some slim, profile guided optimized LLVM toolchains > to my section of kernel.org/pub: > > https://mirrors.edge.kernel.org/pub/linux/kernel/people/nathan/llvm/ This is now https://mirrors.edge.kernel.org/pub/tools/llvm/ so that they are no longer tied directly to my kernel.org account. I have updated the README with additional information based on feedback that I have received thus far. > The landing page should have all the relevant information but if I need > to clarify or expand on anything, I am more than happy to do so. > > Due to benchmarking the compilers against the kernel during PGO, they > can handily beat distribution versions that have not been optimized: > > https://gist.github.com/nathanchance/8d1abed70077ac92cb198ef32389072e > > I aim to keep these up to date with the latest stable versions of LLVM > as they are released (so 16.0.0 will be replaced with 16.0.1 when it is > released, etc). Cheers, Nathan