-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
documentationgood first issuehttps://github.com/llvm/llvm-project/contributehttps://github.com/llvm/llvm-project/contribute
Description
llvm-project/llvm/docs/CMake.rst
Line 832 in a1c0ba1
| **LLVM_TARGETS_TO_BUILD**:STRING |
- The "full list" of
LLVM_TARGETS_TO_BUILDvalues is not complete and is missing the useful and commonly used valueshostandNative. - The
hostandNativevalues forLLVM_TARGETS_TO_BUILDdo not seem to be documented anywhere.
CMake.rst currently says:
LLVM_TARGETS_TO_BUILD:STRING
Semicolon-separated list of targets to build, or all for building all targets. Case-sensitive. Defaults to all. Example: -DLLVM_TARGETS_TO_BUILD="X86;PowerPC". The full list, as of March 2023, is: AArch64;AMDGPU;ARM;AVR;BPF;Hexagon;Lanai;LoongArch;Mips;MSP430;NVPTX;PowerPC;RISCV;Sparc;SystemZ;VE;WebAssembly;X86;XCore
However, many places, both in llvm-project and outside, seem to use the values host and Native, which sounds like useful options. Unfortunately both are undocumented (and it is unclear whether they mean the same thing and why sometimes host is used and sometimes Native).
Metadata
Metadata
Assignees
Labels
documentationgood first issuehttps://github.com/llvm/llvm-project/contributehttps://github.com/llvm/llvm-project/contribute