Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3527077pxp; Tue, 8 Mar 2022 16:40:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJwEn2w9NpDBipgbv/A++Be8wC0tHRr6kG9eaHQa6iKmOD/wxGOU/2oVa2EVrc8vAp9NXfSj X-Received: by 2002:a17:903:1c4:b0:151:f3f2:d54d with SMTP id e4-20020a17090301c400b00151f3f2d54dmr10447284plh.10.1646786427829; Tue, 08 Mar 2022 16:40:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646786427; cv=none; d=google.com; s=arc-20160816; b=PwWGpx48w8RsG2UcIQSkeh7tj3qtKQl26j2RUkGjZWPzboCowQ613bXKH0IrPZkzB7 uEsPkbwgRVzNNaiuQHkTcnbdH4x1280VXuCSH2PEUQ71JveNaTF4UqnwCP/z4pwnIj2e NYSQxEvwUpS5WpQTiSJy69FKF7OkCK6yXwclimbz8KAVXHZqYmQt5YyDPi5bDazSVSxJ nPTKhMNwR4TDAOjwfxaNVuSsUz9E6IeTEq+pwy5KHMj/PhZmkEmVFyFiN+Od/dqpc7U2 /Lq5T/03CeSZA/OWyX8owQQP2BtcQeovWVMLaVl9fcatQNK0QZYnzNhvov8tvFG16aJr OdRg== 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=qk8gZa9N3AskrJn2j9FvrWIxAqKPjieXt9y5DlvxdVg=; b=scmglZS56Efwuk5lR88iWFxt4zwbkAaxGbbNRXvCvPLw6ADU0lCfZDdbgkxKAIsHle 2sWshPu3/Duh+HwVoo9a8i8Yw8O9isTz7t4NuwS02E/nd66N6p+RrdOi1rAh7UMUtzPN 3vksdqpBRuZLepMiIxHTmzlaADszVVQwJvJEGcqMEXw4d9p4gHFB1j+j0h0CHL4KT3gs hGopARvAiB8oVbgcDcbbQH6RugU3GP6zremxDEzRBn8B9AqxZJAlWlM0GorZ9Jlgo8bW iOtyFw92AJjzkfG0EGRjYbmK55kPClC9dGpog5wtVJP/W/Yr1BwYUN6VbmqASD9oBBqU KSTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=lrKkBtIt; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id g11-20020a17090a714b00b001bd14e0308esi3744731pjs.102.2022.03.08.16.40.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 16:40:27 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=lrKkBtIt; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 76AEF131122; Tue, 8 Mar 2022 15:56:35 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348380AbiCHQhW (ORCPT + 99 others); Tue, 8 Mar 2022 11:37:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348375AbiCHQhU (ORCPT ); Tue, 8 Mar 2022 11:37:20 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB9A751311; Tue, 8 Mar 2022 08:36:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=qk8gZa9N3AskrJn2j9FvrWIxAqKPjieXt9y5DlvxdVg=; b=lrKkBtItZ2p0f2KTpxQ+dZGQZC 2Bahna8JsffcfVNGoy7ANQZRPXBf952KhT1nd/gh9B+Pke6cQShXh1wJ5atv7Xyp1Slw/FjFodVm6 V8Qf6JP8samqQGZPFZ/EZHZFEMe0qiuyurSuDwEePDS1RHVPLRo8RRzDwhcdT3qYsKgIUTzstvjbi aDCLF3aRRua6uYS0S6ZW/T/mhP9uzzqGBb8WvGwz8jkz6JU03cvSJSHpaD7d62L7yR2ASIAhbMxC1 VshtmVQ7dvksoCnIuJQ26SyYM1Ji5bEegEYhs7VU9RiERk0SV5p4wfQtE/orOS9lXkqbD1DFMhdDr eDKnFi2w==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRcor-00GLFR-Uu; Tue, 08 Mar 2022 16:36:18 +0000 Date: Tue, 8 Mar 2022 16:36:17 +0000 From: Matthew Wilcox To: Nick Desaulniers Cc: Nathan Chancellor , Masahiro Yamada , Kees Cook , Shuah Khan , llvm@lists.linux.dev, linux-kbuild@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Peter Zijlstra Subject: Re: [PATCH v2] kbuild: Make $(LLVM) more flexible Message-ID: References: <20220304170813.1689186-1-nathan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Mon, Mar 07, 2022 at 11:08:29AM -0800, Nick Desaulniers wrote: > > +``LLVM=0`` is not the same as omitting ``LLVM`` altogether, it will behave like > > +``LLVM=1``. > > Hmm... I can see someone's build wrappers setting LLVM=1, then them > being surprised that appending LLVM=0 doesn't disable LLVM=1 as they > might expect. But Masahiro says let's fix this later which is fine. What happens if you say LLVM= instead of LLVM=0 ? Would that "undo" a prior LLVM=1 and use GCC instead?