Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4865271rwl; Tue, 28 Mar 2023 12:27:10 -0700 (PDT) X-Google-Smtp-Source: AK7set8R7UTQ9XigvFNRo58gHBALNif5ly5KBQv16e5ngzJGhhw2j80t0zQOFCdmMJH61ffu0wjy X-Received: by 2002:a05:6a20:3a89:b0:d9:b59c:d09e with SMTP id d9-20020a056a203a8900b000d9b59cd09emr15266439pzh.11.1680031629990; Tue, 28 Mar 2023 12:27:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680031629; cv=none; d=google.com; s=arc-20160816; b=uBkrs3B9RZhWXX7rKXLzI4u0lok2ODAQ/jE1qhyD1XF/C5TzYKiWsrkzCsZdgAza26 eO0LpJovKQmfHa77pM2B8CUMRRUfCHboOw6+A4J3jb7v/kvJnUWphBF7WoOLL3Hbw0qf 7LSpPS3FiMTat2fPE9KiZvtRnS2vQi5tgMCFw283Z8HG+ND0NjzIrzoblr93WUwdkg2T QfN++3bTzGEBxvZTdyAcXvQ1IaFg3dcTPTsyCNceT0KWzuWYWeNjjfkaOJQpqjqrZi7n h4ku4uagYBvYBAKYHJ2ZoxWi7tOUvmKIqlwuZrsbqT9UEZugzBDf+FiL8DyVosMtHvf/ dFYw== 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:cc:to:from:date:dkim-signature; bh=OL4e8uit4STmf2MR22QskGjRApF6pug1asjWMhNvLEI=; b=jUQ8M/Wvyd6/4aqTJLROUqPSI0EhXRZlyTekXY+6BxNuj9GC8McyWqQvaBN8SyICcr sf3UoAEd/pAtriApNWfZIeEzlkWU9hQ9FhJYDl/9tv3TUpTfXtUi2CPMmLYRI1VgC7ad cGo+lUuAgkaVXFIoaRNDj81fZhMMryWuKexlWVV6NUuc0Xzymg/ju1rZ72+fWCcLygYG qrElNQCvc1cQUxa2PDGYd42FcaCFA8Co2Cl7Oon13l81fB9N5go2dv+Dj1Gh7573qa3/ aWk6uInQIFbWsDbBVkDUdGf35NAw9OJUc9hbA1dKNvQtZC4pFS2UWC1CDkalEIPcMfNH ppAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VhSmw80k; 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 b19-20020a631b13000000b00503a2ab161dsi30119306pgb.534.2023.03.28.12.26.55; Tue, 28 Mar 2023 12:27:09 -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=VhSmw80k; 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 S229549AbjC1THw (ORCPT + 99 others); Tue, 28 Mar 2023 15:07:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbjC1THv (ORCPT ); Tue, 28 Mar 2023 15:07:51 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AF722719; Tue, 28 Mar 2023 12:07:50 -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 ams.source.kernel.org (Postfix) with ESMTPS id 69D53B81CA8; Tue, 28 Mar 2023 19:07:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B1110C433D2; Tue, 28 Mar 2023 19:07:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680030467; bh=ssr+04WYQP/MuT28p4/ksJLN0ZZeX1hkEAtus4Xzjno=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VhSmw80koljABs1Ar+f+KOOq9HFE34jhJJ0I1Z06REJKH/5Tuqp5n5HpPt3TTX7zf jJCCeQBGd0b3HVxlf/w8KxDJPyuOczogo7XCOlV8OutI5KXd9W7spgUd8tB2KDOme/ eB+odT9IGLnXP3rrHwyGA2LOE00E8ShUu6YK6OvrIuT16TeZACd2aT9syWTtcDvHWS u68TmXSUtDVB9TWJ2lY8GBNLS+VkYL2+5Coi11uhTbz+cyV+V51Lw//+hanvi8tkjO szm7AaKCV3WuWN+b/CQ1wgLSaTelTJvfKxoQVEgkcsTU4I+olOGXNqP/Fhp1wYRk9O B5VetVbYWREAw== Date: Tue, 28 Mar 2023 12:07:45 -0700 From: Nathan Chancellor To: Kalle Valo Cc: Linus Torvalds , Linux Kernel Mailing List , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-toolchains@vger.kernel.org, llvm@lists.linux.dev Subject: Re: Linux 6.3-rc3 Message-ID: <20230328190745.GA375033@dev-arch.thelio-3990X> References: <20230320180501.GA598084@dev-arch.thelio-3990X> <20230320185337.GA615556@dev-arch.thelio-3990X> <87pm91uf9c.fsf@kernel.org> <20230322163637.GA918620@dev-arch.thelio-3990X> <87wn36ctdi.fsf@kernel.org> <20230324151150.GC428955@dev-arch.thelio-3990X> <87o7oicgwv.fsf@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87o7oicgwv.fsf@kernel.org> 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 Fri, Mar 24, 2023 at 05:23:12PM +0200, Kalle Valo wrote: > Nathan Chancellor writes: > > >> This is nitpicking but it would be nice if the tarball contents wouldn't > >> conflict with each other. Now both llvm-16.0.0-aarch64.tar.gz and > >> llvm-16.0.0-x86_64.tar extract to the same directory llvm-16.0.0 with > >> same binary names. It would be much better if they would extract to > >> llvm-16.0.0-aarch64 and llvm-16.0.0-x86_64, respectively. > >> > >> For example, Arnd's crosstool packages don't conflict with each other: > >> > >> https://mirrors.edge.kernel.org/pub/tools/crosstool/ > > > > I could certainly do that but what is the use case for extracting both? > > You cannot run the aarch64 version on an x86_64 host and vice versa, so > > why bother extracting them? > > Ah, I didn't realise that. I assumed llvm-16.0.0-aarch64.tar.gz was a > cross compiler. I'm sure you documented that in the page but hey who > reads the documentation ;) :) I have adjusted the README to hopefully make that clearer. > > I had figured the architecture would be irrelevant once installed on > > the host, so I opted only to include it in the tarball name. Perhaps I > > should make it clearer that these are the host architectures, not the > > target architectures (because clang is multi-targeted, unlike GCC)? > > Makes sense now. But I still think it's good style that a tarball named > llvm-16.0.0-aarch64.tar.gz extracts to llvm-16.0.0-aarch64. Indeed, I have adjusted it for future builds: https://github.com/nathanchance/env/commit/314837e6706889138121a32140d2acdc7895d390 > >> And maybe request a similar llvm directory under pub/tools to make it > >> more official? :) We now have https://kernel.org/pub/tools/llvm/, which is about as official as we can get I suppose :) https://kernel.org/pub/linux/kernel/people/nathan/llvm/ now points people there. Cheers, Nathan