[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABVgOSkdphVaWhL1bBpC-vBgJ5pS144wD_g588o2_xxHXd=Ngg@mail.gmail.com>
Date: Thu, 27 Feb 2020 10:54:56 -0800
From: David Gow <davidgow@...gle.com>
To: Greg Thelen <gthelen@...gle.com>
Cc: Brendan Higgins <brendanhiggins@...gle.com>,
"open list:KERNEL SELFTEST FRAMEWORK"
<linux-kselftest@...r.kernel.org>,
KUnit Development <kunit-dev@...glegroups.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
clang-built-linux@...glegroups.com
Subject: Re: [PATCH] kunit: add --make_options
On Wed, Feb 26, 2020 at 10:31 PM 'Greg Thelen' via KUnit Development
<kunit-dev@...glegroups.com> 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 <gthelen@...gle.com>
Tested-by: David Gow <davidgow@...gle.com>
Nice! This worked for me with all of the options I tried (and it's
great to see KUnit working on clang builds!)
-- David
Powered by blists - more mailing lists