Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1049088lqj; Mon, 3 Jun 2024 08:42:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVkTKrh3jQRdeL1aEncxfzVHrhPksXi5Q2nU68Pj/QxuBY0za3whDNbR5mnkUCmfdDRKzy1HyPEZiT9fyxLLc74kduRg1quyvp8Wf4H/Q== X-Google-Smtp-Source: AGHT+IFR7cEBQ8gc63oXGlJdrr7Wdo6MlZ9otGa+wZWojPECDksY3gFjVL0Okwc61UpHonmolF3c X-Received: by 2002:a05:6e02:12c4:b0:374:5289:e839 with SMTP id e9e14a558f8ab-3748b96c6cemr116341335ab.5.1717429357783; Mon, 03 Jun 2024 08:42:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717429357; cv=pass; d=google.com; s=arc-20160816; b=eow14PeD4kA+806aypg+1KWSZ20b5qCUoBDNgTaxw1KyT9oSdZs9QvotSVYgU094jv e2eSsQLdMqoDkr9a8eZgG03v55w77Q+kHq2o8IA0tali4b7fyVXzt3pvQfQgDNmzgDBv r3y4GPzXRX+cfUW16ZOGkNkgsf50bkWjHl1eUt0PuE5L5W5/waCrtQVzIT1ydxbv3f56 15k88/Zb8mmXc0nkHo+OVZDZYwBKsCaw8rW3bzPw6+zy0PHyTjZ8E19f9NtFlebkiJdc SdoLoAlyKTFPvew3TX6qz+teY0FQFnSNseiEHkNukZITvsFxEoHzp3szDx/rrXUwse1S IKVA== 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=RsxqEoDgfzkphgVyW87G6JKNHZHxmcnEgZyqyc0mObQ=; fh=kqMiDu0c3EgNSDGyh+P111hi9HqpwkJ0jGtvIlyY5xI=; b=IMaY6fa19/qcq8YAMoEJDIdhp1mBDNkt8NzTCjDGUlzI77GmoiaUpKLH4JAZiH5Di5 0P0nECUBrs8uZKjnQy1ot87VC/g5lBZ6Sef383xE+pRSMKpNO/uYvb+8GFGrM4aNoo67 lvAS1Dsc7Hi85EjXHz6CHhhh17So7N9ryIUVpVxDriZnAWW7HaOgH7XIxDvQuGdalKmX mI63l4gM2TZ2sFM5FBJoY0DzK5mcbmYukMjk3l+jbPD/XTyRqD0IBGdifmsc59egFG+D p3ki12DjLUR91UgtGYS4cvZtVmOg4l5b8yqNfmGzJhHs5yjOQylOvU+878IN92fY1icS cwvQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kQ3CYvko; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-199368-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199368-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6d21220c610si106907a12.104.2024.06.03.08.42.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 08:42:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199368-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kQ3CYvko; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-199368-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199368-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 0E687B22201 for ; Mon, 3 Jun 2024 15:32:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7E2F3130A49; Mon, 3 Jun 2024 15:32:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kQ3CYvko" 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 9B2711EF1A; Mon, 3 Jun 2024 15:32:37 +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=1717428757; cv=none; b=B63aQh2uM2j8z1rlvviSVaxEdAg5TQoiY9uDGMdCpTD66PhZLa2OYS1qMnD7XN52DEL3YG1eB4I+pXpueJKSt2PFVS68S0w3TymbMqXH+JNIpwFyHSUxhzKubQzA7YJA+ou4M2xncXVRvpFAjRAnYnJQwpHOtKMeDXSm1O4TuM0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717428757; c=relaxed/simple; bh=q4oMvhBk1KUtZfzGp4xFNoiHbYTq2R2RFWXRAm7gEIs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=P9xJ73HZulkDm10lk3kZSyjO7MdLKMFIp3CJUul+vYsZtdx+HYBWv664VJ33PXY53W7mf1FkWskiAvx3KvmcSubo5Vf9B6z4XLr/ZJ7XtiFMwm+HtqIZUy2GzmRhvW0CEzxwZ06yCGVl8phv+YyGmQOp+AVZ4nOYFsRBk3esQQA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kQ3CYvko; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9563EC2BD10; Mon, 3 Jun 2024 15:32:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717428757; bh=q4oMvhBk1KUtZfzGp4xFNoiHbYTq2R2RFWXRAm7gEIs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kQ3CYvkoed4OsodNkOOI4ar7YyO8scOxmVRmL0iGhN/hBCO0WtqknKQ0lZSyScNsz PB0dZg2Tc8Skvf+4YhW5x7P59xBfwV5cVrOB5b7R6H076cDR1I9xmSdHBWpydPn3ke T1pZA51NGcAF/zHSZOL6dZ5t461Yp9sqAc70Rdw85VzBiTItI3BxDYZb9lPKzaTyY3 hDpAVxjrta8A9R5r4nDbss3Q1mJ+59bpQK8RaPzAYmc3V/93NG9mZt/GDUbrWcXrMM D9WxB5G8JI92oPPDW4IpLX+cyOZAZO8PECRB70bBR3W2L0Z0RLsTHjDd/ysi670E94 PjH8GJmvn4+sA== Date: Mon, 3 Jun 2024 16:32:30 +0100 From: Mark Brown To: John Hubbard Cc: 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, Nathan Chancellor , Ryan Roberts Subject: Re: [PATCH v2 1/2] selftests/lib.mk: handle both LLVM=1 and CC=clang builds Message-ID: <306eebf8-bb5d-4e1a-9fa3-ad3f4ea11b9c@sirena.org.uk> References: <20240531183751.100541-1-jhubbard@nvidia.com> <20240531183751.100541-2-jhubbard@nvidia.com> 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="LwQaHvdHhiWHyo0G" Content-Disposition: inline In-Reply-To: <20240531183751.100541-2-jhubbard@nvidia.com> X-Cookie: Don't let your status become too quo! --LwQaHvdHhiWHyo0G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 31, 2024 at 11:37:50AM -0700, John Hubbard wrote: > The kselftests may be built in a couple different ways: > make LLVM=3D1 > make CC=3Dclang >=20 > In order to handle both cases, set LLVM=3D1 if CC=3Dclang. That way,the r= est > of lib.mk, and any Makefiles that include lib.mk, can base decisions > solely on whether or not LLVM is set. ICBW but I believe there are still some architectures with clang but not lld support where there's a use case for using CC=3Dclang. --LwQaHvdHhiWHyo0G Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmZd4g4ACgkQJNaLcl1U h9BEXQf/WsN/S/yg0X/HYWR3Takul1/6IMH2x/VHC82HyAOKMHvVPItAmDPw0ZM1 ubOFi/vRuKTuThZO95BKg8SSMDBty71Hwo8MZCtps7cjrK+3OUXr46IDJNXcu2dN 6CcRlPBSSJUJG1FcrcgjezJ+KWSJJPbuTkpr+baKpKN4AHdHjIwM/D2v1xWwZDaR rt6c0R43kWKBhKRDXaNgbebxbvb7abFK1rnzkZs6W+7Xh0jTf3+GFerai7sF5oKs 4a0oPQqX3QGDJmndGAvi5uSIQAxHN6m0afLd3FCH4/Vn0NvTu5e0hsd/RJk8A9R1 u+L6RzjaMPkL2SNIYUL4T8Q1fBas7A== =wAUi -----END PGP SIGNATURE----- --LwQaHvdHhiWHyo0G--