Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp232603pxp; Wed, 9 Mar 2022 01:36:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+L1pRfllzkFBvE5730jiun61rRY6RpzYsGgctT3BZDi0sNhCnnb9V7nA2r1gpn+85+I+X X-Received: by 2002:a17:907:3f12:b0:6d8:bf7c:7672 with SMTP id hq18-20020a1709073f1200b006d8bf7c7672mr16727243ejc.686.1646818614110; Wed, 09 Mar 2022 01:36:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646818614; cv=none; d=google.com; s=arc-20160816; b=qPKSCqGOEslLMT5SGZnGtSIfXR3iqkF2TX1/3w2rtbh9s3DfcPVVk6lI9LRZdU8bP9 /cTvnUH7Lu67722bumzvMW+2CkD2XnFKqF8aQFb9TsmbjZNQQQobOJmRnEmAOKSplRKg xDDKVGznwXDkadrtaOTSRrReaI9xoLFSSpxQM4GC6hEDwoGOlQcDt6rYBROhfyOnfjWJ CCD67QmEF/NLbeRNPLNdNXT8PMCJ3+b7zSC755yUTfKRtkRhM2ICeXe80/v4Vwx44f2V pN1KSV+Uk7EJtKGSlaePPEdPZOEkzxWu+53P9+oiBaSN5SWlTJZFdbzdI6D43X0eDp8S SNVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=clWEPD6AdacDEOa6KCj1PoO9ewauxhdqGkF+hXLwHwk=; b=tNRLCCmsQ7ql2kYN3uxPzxsZFEZNaqFQHKdTzOP936fqYeels3Eoj9y4sf4SPKLu7T toC9PRLrAFu0/1HDqTxKe1NQjs29xvgF2zueGaWldQbdbhqx8MO3XKWWSOwo9BlaCJL8 TczBfZFIMSgX2EQxfQWIwnjul0fSpG3mxqQd6xWxwcshAqEiE7ofaD4O/i40rjJ4qiz/ SOatCAAh/25TSD3n1eV9cKEdDU3xlsmYdTx2HDViZqiM57LC239m4Qos8R5kauMuQ7cq yVXVI9lEKbOP6rnurXZAkvNGYPjsevB8iQ88UGOBQpRy2O6uIpTeLoZtqYo8qkcGZuBD Q/pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=2ZBjVKdP; 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 bw21-20020a170906c1d500b006d5b7eb425dsi811295ejb.430.2022.03.09.01.36.30; Wed, 09 Mar 2022 01:36:54 -0800 (PST) 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=@nifty.com header.s=dec2015msa header.b=2ZBjVKdP; 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 S230013AbiCIJbV (ORCPT + 99 others); Wed, 9 Mar 2022 04:31:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229810AbiCIJbU (ORCPT ); Wed, 9 Mar 2022 04:31:20 -0500 Received: from conssluserg-04.nifty.com (conssluserg-04.nifty.com [210.131.2.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 121A016E7FD; Wed, 9 Mar 2022 01:30:21 -0800 (PST) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (authenticated) by conssluserg-04.nifty.com with ESMTP id 2299TvBX019363; Wed, 9 Mar 2022 18:29:57 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com 2299TvBX019363 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1646818197; bh=clWEPD6AdacDEOa6KCj1PoO9ewauxhdqGkF+hXLwHwk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=2ZBjVKdPQdgv2Bf5DpuDj5qDdwZB+cQOy2j0ZK9KEuJ8nKf0zltZI2QKpVNNqI+c2 9H6KpNZTD+L0I4dyEwZz2u3ARS8LJGcnlah2So+0nnWOFJAFVVhgfK5krPahB7fRlG YoBBWPI6/IFnZ49FivVSUifs4Uq9OnvURv5QFuGT8aa0UQpG/kSbruV5k+lmYTwnQt nK7IVR9NKZMnqiS/vJvMZk3YZQzXclhu2/7h54TQqnFFlC1buCF4W7ox3Bt/R0+g3V tPf1GjqDaeTAbnX1G0r4dNfYbAPot4bPrNrNsji9Huh0xrZ8kb9dpib6iUf0TiQHmK TQuRWnbOPnjLg== X-Nifty-SrcIP: [209.85.214.177] Received: by mail-pl1-f177.google.com with SMTP id e2so1433120pls.10; Wed, 09 Mar 2022 01:29:57 -0800 (PST) X-Gm-Message-State: AOAM530XQQNkjEIj90aXVvAqxQowb/zaVXFeZ0wjO/SRzw4yxT4/dJDo eKQSaxNnIfK6uno75PkrrzvMm4BXjz1iRb0wgqw= X-Received: by 2002:a17:902:eb84:b0:151:f80e:e98b with SMTP id q4-20020a170902eb8400b00151f80ee98bmr10526055plg.99.1646818196448; Wed, 09 Mar 2022 01:29:56 -0800 (PST) MIME-Version: 1.0 References: <20220304170813.1689186-1-nathan@kernel.org> In-Reply-To: From: Masahiro Yamada Date: Wed, 9 Mar 2022 18:29:14 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] kbuild: Make $(LLVM) more flexible To: Matthew Wilcox Cc: Nick Desaulniers , Nathan Chancellor , Kees Cook , Shuah Khan , llvm@lists.linux.dev, Linux Kbuild mailing list , "open list:DOCUMENTATION" , Linux Kernel Mailing List , "open list:KERNEL SELFTEST FRAMEWORK" , Peter Zijlstra Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_SOFTFAIL, 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 Wed, Mar 9, 2022 at 1:36 AM Matthew Wilcox wrote: > > 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? I think so. -- Best Regards Masahiro Yamada