Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1434680ybf; Thu, 27 Feb 2020 10:56:39 -0800 (PST) X-Google-Smtp-Source: APXvYqxl5LAnFv3nKyeLiweu2QNvk/RY6dzhRSPvGP0yJlJk9PbApAyAAVhObM72xn5B+6R545Do X-Received: by 2002:a9d:5a09:: with SMTP id v9mr268663oth.214.1582829799348; Thu, 27 Feb 2020 10:56:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582829799; cv=none; d=google.com; s=arc-20160816; b=aE6VB59mK5hD0VsreGE0pX+uLbqHiOr1rO+5hRxzArV/Owk4Hk2Jd6g2rPxMVi1VHz mt0wuuMHg/ra034A6/kgfHIIykdmgNXGw46D3QPI5qqRADKUyXEDv/B5iQwra9BiZrnO 9BbfPlnxEd+nlJk61rApjgAmkRwu9NDnoWdOGoFUdGMlz7NCKiVwEkizO7oIO6bLKD86 OjYJpCM27Pw6aLggw0elTmTmHYnqTQ8F4bUNSNs+q7gBBS5sP3Y/fe5NWtUvHZJxhgN0 UsKJKQirx26H5nN6M+9HhBkBcw14z0Ygrlf6l6b2AfSvPdpm+HgGvbGg6tXfnbG1uxEg 9dRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=/V85YaAe8XR5oTJ96oXQ+ABPr+snDJtWcbgtmR0Qea4=; b=LC9ud83gO90CNHC4ButaMVT8qXHL0txSjX6ww1gohwtojPOCZTmO/INWN/TMspwD7H qFKs1wkNU2rtayQBn7Op5OC5Qf+DwLgjkh/9d582PF7iR89FwGt7j38oGkDWdC9BozHN h/CEVWN+vr3Smqy/x+7BF+nh4Fuv0qEluuFXlVLf0hqMTdMrqqjSpFT3iXH0ibN+nqcJ KjU/GYT9uPgeNdIjOtcwaNsdD6ZlvGX2W0RVCuHaYtu2vNYvvq8Kfh3JN6KPnZgpVZGS BeByTyYvHyUCcvu+AQuphe74j63pcmxHTO/2A7DBnrIGU4ahqJp/BYvvKPDuAx2Tgk7k ADqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=tvcOJ69L; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d2si57856ote.9.2020.02.27.10.56.27; Thu, 27 Feb 2020 10:56:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=tvcOJ69L; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729711AbgB0SzK (ORCPT + 99 others); Thu, 27 Feb 2020 13:55:10 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:32790 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729269AbgB0SzK (ORCPT ); Thu, 27 Feb 2020 13:55:10 -0500 Received: by mail-wr1-f67.google.com with SMTP id x7so132526wrr.0 for ; Thu, 27 Feb 2020 10:55:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/V85YaAe8XR5oTJ96oXQ+ABPr+snDJtWcbgtmR0Qea4=; b=tvcOJ69LptQiNyIzqDTnQbb+0cH7+bJsKcKVrNn1ocnZu1vLfyskMvmxRkGO+mGr6u f2Ykbd9OTXcEGdrbFghUU1KgIrUIZeOT43FiPQgbZRlL5KpRxgL7wWg0AAtfFXJ0iWYR rpZj5k8cq/Fp+cVgo7T3U3PhCnOqckMoOQvYGsdHsn6A2+2q/7ejTDo3ypiwxgF5OwVe F2QO4IFnWh9b1iHODVBOjreYygP/18KqrjJpFhKp5RCQZWJ7p8R3/puyepM9lHxSvtFr QoX+v1NzdKAwqdlfF/td6PRIx8bVx/j3EGSJjuLCOzduvVqHMmIQ6DkYAG7ppOvqtkdR wIzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/V85YaAe8XR5oTJ96oXQ+ABPr+snDJtWcbgtmR0Qea4=; b=CZcE7D8OBsFHFiFPIs8w+eInCOOHqycS2u64TIEMzPUNMtoAhHP8ZYaekIKxzhjNF2 qyzQ2cHv/xZIcG7MbVy394NGeJfQadryCZGdlFW2JTs6/wf4eIqLpNqQuXrJNBOa32Zw Jha4p9F0FkJQCvnNOZL43LMFJyNcIH1d+6g10BD458VQV4NJp4lT9edtAwTKnrPKelBk F74WcF32fYJNfTwC5B504feVtHvkoHJbu60K+wAWzrj1DbJfrmv4kzzxKlO5IdZ6fuom GvPB+hUnCNwlDCIO9GbUVgrXnM8FRI4/QkjpUTgxScFE+8DBDNItY0uZjfLhoC7XnRCw if9g== X-Gm-Message-State: APjAAAUpZMc7LPXUvMk5XPn2O8wiiRg2101aHWT1t2klKw6ul5GUNDO8 iN4pLrp6TT1KrUFyn6dZe/bYqXgTBVH8mjPOLBf0ig== X-Received: by 2002:adf:ef4c:: with SMTP id c12mr248687wrp.203.1582829708486; Thu, 27 Feb 2020 10:55:08 -0800 (PST) MIME-Version: 1.0 References: <20200227063134.261636-1-gthelen@google.com> In-Reply-To: <20200227063134.261636-1-gthelen@google.com> From: David Gow Date: Thu, 27 Feb 2020 10:54:56 -0800 Message-ID: Subject: Re: [PATCH] kunit: add --make_options To: Greg Thelen Cc: Brendan Higgins , "open list:KERNEL SELFTEST FRAMEWORK" , KUnit Development , Linux Kernel Mailing List , clang-built-linux@googlegroups.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 26, 2020 at 10:31 PM 'Greg Thelen' via KUnit Development wrote: > > The kunit.py utility builds an ARCH=um kernel and then runs it. Add > optional --make_options flag to kunit.py allowing for the operator to > specify extra build options. > > This allows use of the clang compiler for kunit: > tools/testing/kunit/kunit.py run --defconfig \ > --make_options CC=clang --make_options HOSTCC=clang > > Signed-off-by: Greg Thelen Tested-by: David Gow Nice! This worked for me with all of the options I tried (and it's great to see KUnit working on clang builds!) -- David