OSDN Git Service

Documentation/llvm: Add a section about supported architectures
authorNathan Chancellor <natechancellor@gmail.com>
Thu, 14 Jan 2021 00:34:47 +0000 (17:34 -0700)
committerMasahiro Yamada <masahiroy@kernel.org>
Fri, 29 Jan 2021 21:06:35 +0000 (06:06 +0900)
commited4e9e615b7ec4992a4eba1643e62ec2d9d979db
treedc002a395cf05f42449e1fd93ce09a2b09a90597
parentae9162e2be767240065b2f16c3061fc0a3622f61
Documentation/llvm: Add a section about supported architectures

The most common question around building the Linux kernel with clang is
"does it work?" and the answer has always been "it depends on your
architecture, configuration, and LLVM version" with no hard answers for
users wanting to experiment. LLVM support has significantly improved
over the past couple of years, resulting in more architectures and
configurations supported, and continuous integration has made it easier
to see what works and what does not.

Add a section that goes over what architectures are supported in the
current kernel version, how they should be built (with just clang or the
LLVM utilities as well), and the level of support they receive. This
will make it easier for people to try out building their kernel with
LLVM and reporting issues that come about from it.

Suggested-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Nick Desaulniers <ndesaulnier@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Documentation/kbuild/llvm.rst