Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp95658lqb; Tue, 4 Jun 2024 06:15:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWgaYEDUwQIcdJ8+nLJ3MZW+AxdFrQUkr3Js5+GFrKicUOtOED5LPSijB8n8MTV7WZchtHJ1+uLLYYr0rmqk6RnjJPlVtaD7tK7uZQNqg== X-Google-Smtp-Source: AGHT+IG1OB6LEjkBDpL/XY2RvCKp5bkflh7Lqf/QKKwuRrF8tdNefoWY+luToaYjj1jcwWXK1EkU X-Received: by 2002:a50:c345:0:b0:578:50ac:e2e3 with SMTP id 4fb4d7f45d1cf-57a364fc307mr6469921a12.40.1717506918728; Tue, 04 Jun 2024 06:15:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717506918; cv=pass; d=google.com; s=arc-20160816; b=BUMbsoTXWf8bWmtBQaODiiztHa2EWWVjvcf3rFRO4loqN2YwbIOSl9lCmxH3ZIly9H PpxuRgTSTsdvBVdMSAqxjBFkeS3sPwcBHEDJ8VBs037EWPSL74gssz/bb423cJfAqznl MWjc3YspVNY91piiE8UXWPiMA24DvtKRlu55BnOM0TG7T/5OCGTrLdDxPa7bGZzrVGlH HJ6tm3XoSpTI0o2vTpesyREFuyxkHtzWc37oLGQ6KrmKuTXGtujN2EIEmSwPCCLqEvCP VncZWKLEEXfMPsaHRRcR4oE/5V5nd2zbR7NeMBPy0m1FznDqRjM7EyKwhJg4T8tg95YM s83w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=OE4saAuELWugESCc+U2+rPB+AbB3NFl9UxVwjKH6csE=; fh=IXF4E8k31X1Od9AFN2nkWa4jRcuzB1KjHZ0fWXOzv5Y=; b=s6iJeZk0kNGoeGWE8n6xx1of5Ad7S+IBN6Rb/FqnSQ6uerJPuWruELmPIry8KlsYvs jMwsYoO8zIqV6qSoOB2uodb+uOD9JqeWDztJdo9TnQAj7UzZOa0lSrlo/3Zn57byC7Z4 1tdCwfq5Zzi+xKeYspiPcsHjbA8cjT/uKp4AvwRdVawp1zCcx+wDve4RLec93un+PFzj QP9u223h5Cu2QLGF5X+PaS4YiktZ+RYSIGOlVYqsZrWCSubZiFJTWZUApctgfF46ZeFk Hib1K7vLYFvuckmixj1SzpQZST9J7LKpUHoW1m+SpypsZDQ2BqJ281UgL8Ic0uyoLF9g jg9Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bl4zO631; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200677-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200677-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31c8ed60si5043986a12.459.2024.06.04.06.15.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 06:15:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200677-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bl4zO631; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200677-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200677-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6C9451F236B1 for ; Tue, 4 Jun 2024 13:15:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D8F5314659D; Tue, 4 Jun 2024 13:14:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bl4zO631" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EB502146016; Tue, 4 Jun 2024 13:14:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717506899; cv=none; b=PpYKbDwXQKfRaRhI7xk02NQ6sS6eyW/sr+VdQ6npg0snHJ+mIVehEir0sHPspuD/0JwfiWoKN86ppnCeR536Y4ikAxlOQY3Tmsn7W1T/L9onMRh+65ryot+iaAFUaaNICsMF3C7qiHqGnQ+p9BNt1z1W/A1C2aIKj0FnWetqDqk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717506899; c=relaxed/simple; bh=OE4saAuELWugESCc+U2+rPB+AbB3NFl9UxVwjKH6csE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Sb4neHG4oXhqaZ0Odmv+WWzUGuEKxKWzbZoUYOKM+I69sn4l5xEIe4SDELC8TrME5RUp8Bm0j0h5k9ToCKXR7AyyURQ+x6owdBN2acBPO086VUTMaWfMj80a+veVAYGj5A4OACsZsBxzlKrPlObipy1wXkZnE4SP0gZdKW9hHuU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bl4zO631; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E6783C2BBFC; Tue, 4 Jun 2024 13:14:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717506898; bh=OE4saAuELWugESCc+U2+rPB+AbB3NFl9UxVwjKH6csE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bl4zO631XFuKkKm+uT8b4uFOHoHB13GN2UC+mFmCxBvMWEOCr9aEGlRF+tjl5SBMq tXE1mpsGD60VZz+SvYn5WbjLciRCnjW+i+zFyWvgX2ucsLMtToUP36wBart1gOWLTh d5N3q/u3blB0uWbxCsbis4GUP77TxVo5GgxUC210mO1VQl2jJKM7k7AtI26RVDReVU pStQPdgaBvikaXDnuTQQ15VZLxQ8mfaiQ0Q0pS9Q/A+lA4t8wLUMWQJnRIgCj4qJpF +ODO4WGx7A52mQmzThYZQxujfs5YtaFSGUH573yEZMuqmUTs7Sr2QbfYgoEuc3k80W f0AvGBsA6/nbg== Date: Tue, 4 Jun 2024 14:14:51 +0100 From: Mark Brown To: Nathan Chancellor Cc: John Hubbard , Shuah Khan , Muhammad Usama Anjum , Beau Belgrave , Steven Rostedt , Naresh Kamboju , Nick Desaulniers , Justin Stitt , Bill Wendling , sunliming , Masami Hiramatsu , Valentin Obst , linux-kselftest@vger.kernel.org, LKML , llvm@lists.linux.dev, Ryan Roberts Subject: Re: [PATCH v2 1/2] selftests/lib.mk: handle both LLVM=1 and CC=clang builds Message-ID: <720aa2c5-5cc0-4021-ae0e-8fc4a78995e3@sirena.org.uk> References: <20240531183751.100541-1-jhubbard@nvidia.com> <20240531183751.100541-2-jhubbard@nvidia.com> <306eebf8-bb5d-4e1a-9fa3-ad3f4ea11b9c@sirena.org.uk> <20240603224706.GA245774@thelio-3990X> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Czvh9zDO7UJp9RNF" Content-Disposition: inline In-Reply-To: <20240603224706.GA245774@thelio-3990X> X-Cookie: Is it clean in other dimensions? --Czvh9zDO7UJp9RNF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jun 03, 2024 at 03:47:06PM -0700, Nathan Chancellor wrote: > On Mon, Jun 03, 2024 at 04:32:30PM +0100, Mark Brown wrote: > > ICBW but I believe there are still some architectures with clang but not > > lld support where there's a use case for using CC=clang. > Does CC=clang even work for the selftests? lib.mk here uses 'CC :=' so > won't CC=clang get overridden to CC=$(CROSS_COMPILE)gcc? No idea, it's not a configuration I'm interested in myself. --Czvh9zDO7UJp9RNF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmZfE0sACgkQJNaLcl1U h9BiTwf/aqeENJmdBeAWWPhMRKY1YW39uwcdusyhYZ53o47QTHVkbDIAYhuRspO2 CWolKkBg3xMKc8tKtpRvChHaTli5n3at69kRGjDYtyGp0Bvo1sekQhqJ7MicbE/8 2zh6LqLpKjN6a8a9DlkhyFh6lkhLh4+/kOS2O1zEcUZyftK03EvbtSOtY94uN1xp G8bbwu1tps4iKuPbTTrAa+zkbP9t7Zbuio1bDMPXuEGPpevzmRlXD62pXOtk/JgY sbDfwKd2VBa05yDTHWnWj4aQCBuCMm88eLki2Ytdo8h0XaAQFf8/AnrVBPRyamoi Z/RA5udP5eYkRRe/LqsG9MTzx9QS0Q== =sDhS -----END PGP SIGNATURE----- --Czvh9zDO7UJp9RNF--