Jump to content

[Armbian build PR] - Support kernel compilation with Clang/LLVM


RSS Bot

Recommended Posts

Description

The kernel supports compilation with LLVM in addition to GCC, including cross-compilation to arm and riscv. This PR adds an option to use KERNEL_COMPILER=clang to compile kernel with clang.

Documentation summary for feature / change

I haven't added documentation but probably should?

How Has This Been Tested?

  • [x] Built armbian with clang for one target of each architecture (x86, arm, riscv)
  • [x] Verified that gcc build still works

Checklist:

Please delete options that are not relevant.

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [ ] My changes generate no new warnings

View the full article

Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines