Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge duhan_test into duhan_5.1 #1

Merged
merged 192 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
192 commits
Select commit Hold shift + click to select a range
f6f929a
Makefile: update
ananjaser1211 Jul 23, 2024
7dd6975
lib/string.c: implement stpcpy
nickdesaulniers Sep 26, 2020
1e8e00b
drivers: soc: cal-if: Prevent optimization of structs on fvmap_copy_f…
TenSeventy7 Aug 5, 2021
50cc688
configs: exynos9810: disable VDSO
ananjaser1211 Jul 26, 2024
9a6ce8a
gpu: mali: r38p1: fix strict-prototypes errors with clang-18
ananjaser1211 Jul 27, 2024
1c3995f
gpu: mali: r38p1: fix more strict-prototypes errors with clang-18
ananjaser1211 Jul 26, 2024
2790fdb
gpu: mali: r38p1: fix implicit-int
ananjaser1211 Jul 26, 2024
9138971
security: sdp: fix strict-prototypes error
ananjaser1211 Jul 26, 2024
43da6e4
media: tdmb: fix strict-prototypes error
ananjaser1211 Jul 26, 2024
d36fc71
net: wireless: bcmdhd_101_16: fix strict-prototypes errors with clang-18
ananjaser1211 Jul 26, 2024
6c06b5e
soc: samsung: exynos-hdcp: fix strict-prototypes errors with clang-18
ananjaser1211 Jul 26, 2024
9670ed9
fs: f2fs: fix F2FS_NAME_LEN Wint-conversion
ananjaser1211 Jul 27, 2024
536bb5a
apollo: update and add new compilers
ananjaser1211 Jul 27, 2024
b17ae44
Revert "ASOC:Patch from cirrus to fix sound loss issue"
ananjaser1211 Jul 27, 2024
b291108
Merge pull request #2 from ananjaser1211/Apollo_clang
ananjaser1211 Jul 27, 2024
245218c
FROMLIST: arm64: fix alternatives with LLVM's integrated assembler
samitolvanen Aug 8, 2019
e044fbe
MAINTAINERS: add CLANG/LLVM BUILD SUPPORT info
nickdesaulniers Jun 28, 2019
0abe2d6
Documentation/llvm: add documentation on building w/ Clang/LLVM
nickdesaulniers Feb 26, 2020
e13003c
Documentation/llvm: fix the name of llvm-size
MaskRay Apr 2, 2020
0dd6792
kbuild: mark prepare0 as PHONY to fix external module build
masahir0y Jan 15, 2019
8ede9e4
Makefile: remove CCACHE for now
ExtremeXT Apr 7, 2024
33c5044
kbuild: add OBJSIZE variable for the size tool
Jan 21, 2019
72ef72b
x86/boot: kbuild: allow readelf executable to be specified
tpimh Dec 4, 2019
3697b0e
net: wan: wanxl: use allow to pass CROSS_COMPILE_M68k for rebuilding …
masahir0y Mar 26, 2020
34f1c4d
net: wan: wanxl: use $(M68KCC) instead of $(M68KAS) for rebuilding fi…
masahir0y Mar 26, 2020
8c5ec9e
kbuild: remove AS variable
masahir0y Mar 26, 2020
0b44cd3
kbuild: replace AS=clang with LLVM_IAS=1
masahir0y Apr 8, 2020
55231b1
kbuild: support LLVM=1 to switch the default tools to Clang/LLVM
masahir0y Apr 8, 2020
7b6348d
FROMLIST: Kbuild: do not emit debug info for assembly with LLVM_IAS=1
nickdesaulniers Nov 9, 2020
9cecba4
x86/lib: Change .weak to SYM_FUNC_START_WEAK for arch/x86/lib/mem*_64.S
MaskRay Nov 3, 2020
2405dde
arm64: lse: fix LSE atomics with LLVM's integrated assembler
samitolvanen Oct 31, 2019
25cd7b0
selftests: Set CC to clang in lib.mk if LLVM is set
yonghong-song Apr 13, 2021
f9d4752
Makefile: Move -Wno-unused-but-set-variable out of GCC only block
nathanchance Apr 29, 2021
b602533
fortify: Explicitly disable Clang support
kees May 13, 2021
a9b960a
Makefile.debug: re-enable debug info for .S files
nickdesaulniers Oct 24, 2022
fb35bef
perf llvm: Return -ENOMEM when asprintf() fails
acmel Jul 1, 2021
4b9ef1d
perf llvm: Fix inadvertent file creation
captain5050 Jan 5, 2023
7732e11
arm64: alternative: fix build with clang integrated assembler
ihalip Mar 19, 2020
c54b1e9
BACKPORT: arm64: Fix minor issues with the dcache_by_line_op macro
wildea01 Dec 10, 2018
b57fe1d
BACKPORT: crypto: arm64/aes-modes - get rid of literal load of addend…
Aug 23, 2018
0759a21
crypto: arm64/aes-ce-cipher - match round key endianness with generic…
Jul 24, 2017
c831255
BACKPORT: crypto: arm64/aes-ce-cipher - move assembler code to .S file
Nov 21, 2017
e53761f
FROMLIST: Makefile: lld: tell clang to use lld
nickdesaulniers Jan 31, 2019
967ebbd
arm64: add endianness option to LDFLAGS instead of LD
masahir0y Jul 3, 2018
9e5486f
arm64: build with baremetal linker target instead of Linux when avail…
olofj Jul 13, 2018
2c8fd54
FROMLIST: Makefile: lld: set -O2 linker flag when linking with LLD
nickdesaulniers Feb 11, 2019
cb29717
kbuild: clear LDFLAGS in the top Makefile
masahir0y Jun 21, 2020
b4fdb3d
BACKPORT: arm64: Change .weak to SYM_FUNC_START_WEAK_PI for arch/arm6…
MaskRay Oct 29, 2020
ab193a5
arm64: relocatable: fix inconsistencies in linker script and options
Dec 3, 2018
1e4df63
Makefile: Enable MLGO for register allocation
xxmustafacooTR Aug 5, 2024
78f8b76
kbuild: Add support for LLVM's Polly optimizer
halibw Aug 5, 2024
dac25d4
Makefile: Make CROSS_COMPILE optional
ghazzor Aug 6, 2024
7efc5be
apollo: unset cross_compile for clang
ananjaser1211 Aug 8, 2024
12634e4
Makefile: llvm / poly optimize flags
xxmustafacooTR Feb 23, 2024
8d60946
Makefile: Exynos9810 mtunes
xxmustafacooTR Aug 8, 2024
669fb92
defconfig: set pstore compression to LZO-RLE
xxmustafacooTR May 24, 2023
d6c9619
Merge pull request #4 from ananjaser1211/Apollo_clang
ananjaser1211 Aug 8, 2024
9270f4d
Merge pull request #5 from ananjaser1211/Apollo_Optimizations
ananjaser1211 Aug 8, 2024
bf72b71
MAINTAINERS: add CLANG/LLVM BUILD SUPPORT info
nickdesaulniers Jun 28, 2019
7638392
Documentation/llvm: add documentation on building w/ Clang/LLVM
nickdesaulniers Feb 26, 2020
1cad0e0
Documentation/llvm: fix the name of llvm-size
MaskRay Apr 2, 2020
f7011ea
kbuild: mark prepare0 as PHONY to fix external module build
masahir0y Jan 15, 2019
06edd9a
Makefile: remove CCACHE for now
ExtremeXT Apr 7, 2024
d98161b
kbuild: add OBJSIZE variable for the size tool
Jan 21, 2019
0654c86
x86/boot: kbuild: allow readelf executable to be specified
tpimh Dec 4, 2019
3774bb5
net: wan: wanxl: use allow to pass CROSS_COMPILE_M68k for rebuilding …
masahir0y Mar 26, 2020
cc21a68
net: wan: wanxl: use $(M68KCC) instead of $(M68KAS) for rebuilding fi…
masahir0y Mar 26, 2020
53ee9be
kbuild: remove AS variable
masahir0y Mar 26, 2020
c6320c0
kbuild: replace AS=clang with LLVM_IAS=1
masahir0y Apr 8, 2020
6666951
kbuild: support LLVM=1 to switch the default tools to Clang/LLVM
masahir0y Apr 8, 2020
803d64b
FROMLIST: Kbuild: do not emit debug info for assembly with LLVM_IAS=1
nickdesaulniers Nov 9, 2020
7a841cd
x86/lib: Change .weak to SYM_FUNC_START_WEAK for arch/x86/lib/mem*_64.S
MaskRay Nov 3, 2020
8ba8def
arm64: lse: fix LSE atomics with LLVM's integrated assembler
samitolvanen Oct 31, 2019
dc26d5e
selftests: Set CC to clang in lib.mk if LLVM is set
yonghong-song Apr 13, 2021
de74a03
Makefile: Move -Wno-unused-but-set-variable out of GCC only block
nathanchance Apr 29, 2021
5265ce7
fortify: Explicitly disable Clang support
kees May 13, 2021
c898bca
Makefile.debug: re-enable debug info for .S files
nickdesaulniers Oct 24, 2022
593f3c6
perf llvm: Return -ENOMEM when asprintf() fails
acmel Jul 1, 2021
6acf7fd
perf llvm: Fix inadvertent file creation
captain5050 Jan 5, 2023
05522be
arm64: alternative: fix build with clang integrated assembler
ihalip Mar 19, 2020
f93b2ba
BACKPORT: arm64: Fix minor issues with the dcache_by_line_op macro
wildea01 Dec 10, 2018
0a62cf8
BACKPORT: crypto: arm64/aes-modes - get rid of literal load of addend…
Aug 23, 2018
f90fad5
crypto: arm64/aes-ce-cipher - match round key endianness with generic…
Jul 24, 2017
89c4f6d
BACKPORT: crypto: arm64/aes-ce-cipher - move assembler code to .S file
Nov 21, 2017
e0ac6ae
FROMLIST: Makefile: lld: tell clang to use lld
nickdesaulniers Jan 31, 2019
e7337f0
arm64: add endianness option to LDFLAGS instead of LD
masahir0y Jul 3, 2018
a321799
arm64: build with baremetal linker target instead of Linux when avail…
olofj Jul 13, 2018
960994e
FROMLIST: Makefile: lld: set -O2 linker flag when linking with LLD
nickdesaulniers Feb 11, 2019
1f22f3a
kbuild: clear LDFLAGS in the top Makefile
masahir0y Jun 21, 2020
11d5370
BACKPORT: arm64: Change .weak to SYM_FUNC_START_WEAK_PI for arch/arm6…
MaskRay Oct 29, 2020
981374f
arm64: relocatable: fix inconsistencies in linker script and options
Dec 3, 2018
f6708fd
Makefile: Enable MLGO for register allocation
xxmustafacooTR Aug 5, 2024
40d111c
kbuild: Add support for LLVM's Polly optimizer
halibw Aug 5, 2024
690f0d7
Makefile: Make CROSS_COMPILE optional
ghazzor Aug 6, 2024
74c8342
Makefile: llvm / poly optimize flags
xxmustafacooTR Feb 23, 2024
743743f
Makefile: Exynos9810 mtunes
xxmustafacooTR Aug 8, 2024
d40dca6
defconfig: set pstore compression to LZO-RLE
xxmustafacooTR May 24, 2023
9edf958
Merge commit 'd6c9619' into duhan_test
duhansysl Aug 9, 2024
d40e2a0
Merge commit '9270f4d' into duhan_test
duhansysl Aug 9, 2024
be00f9e
FROMLIST: Makefile: lld: set -O2 linker flag when linking with LLD
nickdesaulniers Feb 11, 2019
bc39d26
kbuild: allow lld to be used with CONFIG_LTO_CLANG
samitolvanen Feb 12, 2019
5172aac
Makefile: Globally disable compound-token-split-by-space warnings for…
0ctobot Aug 31, 2020
8d64c2a
ANDROID: kbuild: limit LTO inlining
samitolvanen Dec 4, 2019
947bc3f
ANDROID: kbuild: merge module sections with LTO
samitolvanen Dec 3, 2019
05403a1
ANDROID: kbuild: fix module linker script flags for LTO
samitolvanen Mar 17, 2020
68e087b
Makefile: Set --lto-O3 LLD linker flag when building with clang LTO
kdrag0n Feb 18, 2019
3a3437d
Revert "kbuild: disable clang's default use of -fmerge-all-constants"
nickdesaulniers Oct 13, 2020
1496351
Makefile: evaluate LDFLAGS_BUILD_ID only once
vitkyrka Apr 30, 2017
e0bbbe4
kbuild: test --build-id linker flag by ld-option instead of cc-ldoption
masahir0y Feb 23, 2018
9b58db5
kbuild: Remove -Wno-format-invalid-specifier from clang block
nathanchance Aug 16, 2021
18d570f
ANDROID: scripts/Kbuild: avoid <<< for dash shell
nickdesaulniers Mar 21, 2019
e7ef581
ANDROID: modpost: filter function/data section ldflags
nickdesaulniers Dec 13, 2018
b8013b7
Fix build break for Argument list too long
Jul 26, 2019
9791308
kbuild: rename LDFLAGS to KBUILD_LDFLAGS
masahir0y Aug 23, 2018
c5bfb03
Revert "Makefile: Set --lto-O3 LLD linker flag when building with cla…
halibw Jun 26, 2022
2cd5061
scripts: Support a custom compiler name
Dec 26, 2017
714d4ed
BACKPORT: FROMGIT: kbuild: mkcompile_h: Include $LD version in /proc/…
kees Apr 2, 2020
b5405ce
Kbuild: add support for ThinLTO
samitolvanen Aug 1, 2019
bf10e33
scripts/kallsyms: filter arm64's __efistub_ symbols
Mar 1, 2018
94619e0
ANDROID: kbuild: don't select LD_DEAD_CODE_DATA_ELIMINATION with LTO
samitolvanen Apr 30, 2020
3eda24a
arm64: allow ThinLTO to be selected
samitolvanen Aug 6, 2019
f421af2
ANDROID: Makefile: set -Qunused-arguments sooner
ouroboros420 Jun 23, 2022
8ec5791
drivers: tty: serial: disable LTO for samsung.o
dylanneve1 Apr 25, 2023
0cbd8c4
arch: arm64: kernel: Disable LTO for cpufeature
libxzr Apr 18, 2023
89073bf
configs: exynos9810: enable LTO_CLANG
dylanneve1 Aug 8, 2024
90645ec
lkdtm: support llvm-objcopy
nickdesaulniers May 15, 2019
601737b
BACKPORT: kbuild: replace AS=clang with LLVM_IAS=1
nickdesaulniers Aug 8, 2024
2918fa4
ANDROID: arm64: vdso: guard against -Wl,-n
nickdesaulniers Jan 31, 2019
f56ac37
kconfig: display recursive dependency resolution hint just once
masahir0y Dec 15, 2017
1f3e0b6
vmlinux.lds.h: Handle clang's module.{c,d}tor sections
nathanchance Jul 31, 2021
0ee7ae5
x86, vmlinux.lds: Page-align end of ..page_aligned sections
joergroedel Jul 21, 2020
b9bf532
vmlinux.lds.h: Add PGO and AutoFDO input sections
nickdesaulniers Aug 21, 2020
edad596
arm64: support __int128 on gcc 5+
zx2c4 Nov 3, 2017
bc0ca6f
arm64: support __int128 with clang
zx2c4 Dec 23, 2017
ba8f6fa
BACKPORT: arm64: Add support for relocating the kernel with RELR relo…
pcc Aug 1, 2019
c5dd456
mm, page_alloc: double zone's batchsize
Aug 17, 2018
668972f
arm64: Implement __lshrti3 library function
zx2c4 Nov 7, 2017
93430bf
UPSTREAM: arm64: make label allocation style consistent in tishift
zx2c4 Nov 7, 2017
19f5aed
arm64 / memchr : Optimize memchr routines
raphielscape Aug 10, 2019
877018d
arm64 / lib ; Optimize strlen routines
raphielscape Aug 11, 2019
48e25cd
arm64: lib: strcmp: Optimized string routines for AArch64
Haseo97 Aug 13, 2019
fb68d36
arm64: lib: strncmp: Optimized string routines for AArch64
Haseo97 Aug 13, 2019
02100c6
arm64: lib: strlen: Optimized string routines for AArch64
Haseo97 Aug 13, 2019
7d5d7f4
arm64: lib: strnlen: Optimized string routines for AArch64
Haseo97 Aug 13, 2019
5b17d55
arm64: lib: memchr: Optimized string routines for AArch64
Haseo97 Aug 13, 2019
56e4740
UPSTREAM: arm64/lib: copy_page: use consistent prefetch stride
samitolvanen Apr 3, 2018
215c8ad
FROMLIST: arm64/lib: copy_page: avoid x18 register in assembler code
samitolvanen Apr 3, 2018
cdde529
arm64: Don't inline __const_udelay
nine7nine Aug 13, 2018
6660e07
FROMGIT: arm64: export tishift functions to modules
zx2c4 Apr 27, 2018
0c1b87f
arm64/lib: add accelerated crc32 routines
Aug 27, 2018
850afa7
arm64/lib: improve CRC32 performance for deep pipelines
Nov 27, 2018
c4f6899
arm64: crc32: always assume ARM64_HAS_CRC32
arter97 Mar 13, 2019
bd0973c
arm64: lse: Pass -fomit-frame-pointer to out-of-line ll/sc atomics
wildea01 Feb 9, 2018
0e3a879
arm64: avoid instrumenting atomic_ll_sc.o
Apr 27, 2018
26d0a9f
arm64: crypto: add NEON accelerated XOR implementation
JackieLiu1 Dec 4, 2018
52b882d
arm64: lib: memory utilities optimization
Apr 21, 2015
5c360ce
gcc-lto/xor-neon: Disable LTO & -fwhole-program for xor-neon
THEBOSS619 May 2, 2020
0e8f467
ANDROID: arm64: add atomic_ll_sc.o to obj-y if using lld
samitolvanen Feb 12, 2019
0611947
arm64: Import optimized strrchr from newlib
Aug 14, 2017
d2a9f58
arm64/lib: add accelerated do_csum for arm64
fshh520 Jan 4, 2019
b41651a
arm64: Implement optimised checksum routine
rmurphy-arm Jan 15, 2020
b6ff078
arm64/checksum: rename do_cum to differentiate different checksum rou…
THEBOSS619 Jul 17, 2020
910e15a
arm64: lib: Bring is some fixes in routines optimization
THEBOSS619 Aug 25, 2020
a732c14
lib/crc: Move polynomial definition to separate header
krzk Jul 17, 2018
a34dd8c
lib/crc: Use consistent naming for CRC-32 polynomials
krzk Jul 17, 2018
f33f36e
configs: exynos9810: enable CONFIG_LLVM_POLLY
dylanneve1 Aug 9, 2024
6937f43
scripts: Makefile: suppress DTC compiler warnings
jesec Oct 14, 2020
aec2387
ANDROID: use non-canonical CFI jump tables
samitolvanen Nov 20, 2019
22948fc
ANDROID: kbuild: ensure __cfi_check is correctly aligned
samitolvanen Mar 31, 2020
14d1fe5
crypto: aes-ce-glue: fix redefinition of '__cfi_aes_cipher_encrypt'
xxmustafacooTR May 14, 2023
a8c518f
.gitignore: add scripts/module-lto.lds
xxmustafacooTR May 14, 2023
da1a8c6
drivers: media: tdmb: fix self assign
xxmustafacooTR May 25, 2023
fad47cb
BACKPORT: arm64: vdso32: Allow ld.lld to properly link the VDSO
nathanchance Oct 12, 2020
7813d01
BACKPORT: arm64: vdso: use $(LD) instead of $(CC) to link VDSO
masahir0y May 29, 2020
0402a67
BACKPORT: arm64: vdso: Explicitly add build-id option
labbott May 29, 2020
672a829
vdso32: add optimization flags config
xxmustafacooTR Jun 25, 2023
dbdf431
Add support for Unified LTO Bitcode Frontend
xxmustafacooTR Jul 24, 2023
12d1d2b
drivers: soc: samsung: acpm: disable lto
xxmustafacooTR Jan 24, 2024
dd5969b
arch: arm64: configs: Enable CONFIG_RELR
arthefaz Apr 19, 2023
ca4005b
arm64: support __int128 on gcc 5+
zx2c4 Nov 3, 2017
dc96022
arm64: Implement __lshrti3 library function
zx2c4 Nov 7, 2017
909c9e3
UPSTREAM: arm64: make label allocation style consistent in tishift
zx2c4 Nov 7, 2017
f6cdbe3
FROMGIT: arm64: export tishift functions to modules
zx2c4 Apr 27, 2018
69967c1
configs: exynos9810: enable ARCH_HAS_RELR
ananjaser1211 Aug 9, 2024
b479b38
scripts: mkcompile_h: fix long CC name issues
xxmustafacooTR Aug 9, 2024
b3473ac
Makefile: add optimizations, disable CUDA LLVM and misc
ananjaser1211 Aug 9, 2024
34c6f39
.gitignore: update list
ananjaser1211 Aug 9, 2024
38ef6da
.gitignore: ignore toolchain dir
ananjaser1211 Aug 9, 2024
9fab2f1
Makefile: CONFIG_LLVM_DFA_JUMP_THREAD
ananjaser1211 Aug 9, 2024
125cdd9
configs: exynos9810: move some LLVM/LTO features to build script
ananjaser1211 Aug 9, 2024
1bdd532
Apollo: Build script V3.5
duhansysl Aug 9, 2024
6086d69
Merge branch 'duhan_5.1' into duhan_test
duhansysl Aug 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ Module.symvers
/vmlinuz
/System.map
/Module.markers
arch/arm64/lib/lib.a.symversions
lib/lib.a.symversions

#
# Debian directory (make deb-pkg)
Expand Down Expand Up @@ -145,3 +147,6 @@ scripts/fmp/__pycache__/

# KSU
drivers/kernelsu

# Toolchain
toolchain/*
5 changes: 5 additions & 0 deletions Documentation/kbuild/kbuild.txt
Original file line number Diff line number Diff line change
Expand Up @@ -238,3 +238,8 @@ KBUILD_VMLINUX_MAIN
All object files for the main part of vmlinux.
KBUILD_VMLINUX_INIT and KBUILD_VMLINUX_MAIN together specify
all the object files used to link vmlinux.

LLVM
--------------------------------------------------
If this variable is set to 1, Kbuild will use Clang and LLVM utilities instead
of GCC and GNU binutils to build the kernel.
87 changes: 87 additions & 0 deletions Documentation/kbuild/llvm.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
==============================
Building Linux with Clang/LLVM
==============================

This document covers how to build the Linux kernel with Clang and LLVM
utilities.

About
-----

The Linux kernel has always traditionally been compiled with GNU toolchains
such as GCC and binutils. Ongoing work has allowed for `Clang
<https://clang.llvm.org/>`_ and `LLVM <https://llvm.org/>`_ utilities to be
used as viable substitutes. Distributions such as `Android
<https://www.android.com/>`_, `ChromeOS
<https://www.chromium.org/chromium-os>`_, and `OpenMandriva
<https://www.openmandriva.org/>`_ use Clang built kernels. `LLVM is a
collection of toolchain components implemented in terms of C++ objects
<https://www.aosabook.org/en/llvm.html>`_. Clang is a front-end to LLVM that
supports C and the GNU C extensions required by the kernel, and is pronounced
"klang," not "see-lang."

Clang
-----

The compiler used can be swapped out via `CC=` command line argument to `make`.
`CC=` should be set when selecting a config and during a build.

make CC=clang defconfig

make CC=clang

Cross Compiling
---------------

A single Clang compiler binary will typically contain all supported backends,
which can help simplify cross compiling.

ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make CC=clang

`CROSS_COMPILE` is not used to prefix the Clang compiler binary, instead
`CROSS_COMPILE` is used to set a command line flag: `--target <triple>`. For
example:

clang --target aarch64-linux-gnu foo.c

LLVM Utilities
--------------

LLVM has substitutes for GNU binutils utilities. Kbuild supports `LLVM=1`
to enable them.

make LLVM=1

They can be enabled individually. The full list of the parameters:

make CC=clang LD=ld.lld AR=llvm-ar NM=llvm-nm STRIP=llvm-strip \\
OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump OBJSIZE=llvm-size \\
READELF=llvm-readelf HOSTCC=clang HOSTCXX=clang++ HOSTAR=llvm-ar \\
HOSTLD=ld.lld

Currently, the integrated assembler is disabled by default. You can pass
`LLVM_IAS=1` to enable it.

Getting Help
------------

- `Website <https://clangbuiltlinux.github.io/>`_
- `Mailing List <https://groups.google.com/forum/#!forum/clang-built-linux>`_: <clang-built-linux@googlegroups.com>
- `Issue Tracker <https://github.com/ClangBuiltLinux/linux/issues>`_
- IRC: #clangbuiltlinux on chat.freenode.net
- `Telegram <https://t.me/ClangBuiltLinux>`_: @ClangBuiltLinux
- `Wiki <https://github.com/ClangBuiltLinux/linux/wiki>`_
- `Beginner Bugs <https://github.com/ClangBuiltLinux/linux/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22>`_

Getting LLVM
-------------

- http://releases.llvm.org/download.html
- https://github.com/llvm/llvm-project
- https://llvm.org/docs/GettingStarted.html
- https://llvm.org/docs/CMake.html
- https://apt.llvm.org/
- https://www.archlinux.org/packages/extra/x86_64/llvm/
- https://github.com/ClangBuiltLinux/tc-build
- https://github.com/ClangBuiltLinux/linux/wiki/Building-Clang-from-source
- https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/
9 changes: 9 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -3134,6 +3134,15 @@ L: alsa-devel@alsa-project.org (moderated for non-subscribers)
S: Maintained
F: sound/soc/codecs/cs*

CLANG/LLVM BUILD SUPPORT
L: clang-built-linux@googlegroups.com
W: https://clangbuiltlinux.github.io/
B: https://github.com/ClangBuiltLinux/linux/issues
C: irc://chat.freenode.net/clangbuiltlinux
S: Supported
K: \b(?i:clang|llvm)\b
F: Documentation/kbuild/llvm.rst

CLEANCACHE API
M: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
L: linux-kernel@vger.kernel.org
Expand Down
Loading